Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007479/0.007479, allocations: 97.66 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 202.5 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.838/2.838, allocations: 469.8 MB / 0.7425 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 68.11 kB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.336, allocations: 159.1 MB / 1.221 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.007633/0.3436, allocations: 4.97 MB / 1.225 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.9333/1.277, allocations: 151.2 MB / 1.373 GB, free: 10.73 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009846/1.278, allocations: 22.69 kB / 1.373 GB, free: 10.71 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0008667/1.279, allocations: 190 kB / 1.373 GB, free: 10.59 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002518/1.281, allocations: 0.5887 MB / 1.374 GB, free: 10.26 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002392/1.284, allocations: 0.841 MB / 1.375 GB, free: 9.824 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002263/1.286, allocations: 1.454 MB / 1.376 GB, free: 9.078 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009945/1.287, allocations: 429.7 kB / 1.377 GB, free: 8.816 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001116/1.288, allocations: 0.5129 MB / 1.377 GB, free: 8.562 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001293/1.289, allocations: 0.5331 MB / 1.378 GB, free: 8.285 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.000455/1.29, allocations: 120.5 kB / 1.378 GB, free: 8.285 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001563/1.291, allocations: 497.5 kB / 1.378 GB, free: 8.16 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0005198/1.292, allocations: 310.5 kB / 1.378 GB, free: 7.965 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0009782/1.293, allocations: 0.58 MB / 1.379 GB, free: 7.578 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002661/1.296, allocations: 1.695 MB / 1.381 GB, free: 6.582 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/1.296, allocations: 0 / 1.381 GB, free: 6.582 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.004e-06/1.296, allocations: 0 / 1.381 GB, free: 6.582 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.364e-05/1.296, allocations: 0 / 1.381 GB, free: 6.582 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.003165/1.299, allocations: 1.513 MB / 1.382 GB, free: 5.387 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/1.299, allocations: 10.47 kB / 1.382 GB, free: 5.387 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/1.3, allocations: 197.9 kB / 1.382 GB, free: 5.289 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/1.301, allocations: 0.7861 MB / 1.383 GB, free: 4.645 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.127e-05/1.301, allocations: 66.06 kB / 1.383 GB, free: 4.613 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/1.301, allocations: 88.77 kB / 1.383 GB, free: 4.582 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001782/1.303, allocations: 0.9644 MB / 1.384 GB, free: 3.965 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/1.303, allocations: 0 / 1.384 GB, free: 3.965 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.411e-05/1.303, allocations: 37.38 kB / 1.384 GB, free: 3.938 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.328e-05/1.303, allocations: 25.22 kB / 1.384 GB, free: 3.938 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001955/1.305, allocations: 1.163 MB / 1.385 GB, free: 3.379 MB / 1.076 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004581/1.31, allocations: 2.865 MB / 1.388 GB, free: 1.09 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001589/1.311, allocations: 0.7914 MB / 1.389 GB, free: 0.6875 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005743/1.312, allocations: 292.6 kB / 1.389 GB, free: 0.5352 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.65e-05/1.312, allocations: 40.41 kB / 1.389 GB, free: 0.5117 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009941/1.313, allocations: 0.5399 MB / 1.39 GB, free: 168 kB / 1.076 GB Notification: Performance of pre-optimization done (n=88): time 2.455e-06/1.313, allocations: 0 / 1.39 GB, free: 168 kB / 1.076 GB Notification: Performance of matching and sorting (n=88): time 0.003674/1.317, allocations: 1.294 MB / 1.391 GB, free: 15.46 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/1.317, allocations: 193.2 kB / 1.391 GB, free: 15.24 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009696/1.318, allocations: 0.6593 MB / 1.392 GB, free: 14.85 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 7.445e-05/1.318, allocations: 43.23 kB / 1.392 GB, free: 14.81 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003555/1.318, allocations: 415 kB / 1.392 GB, free: 14.45 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.000261/1.319, allocations: 301.3 kB / 1.393 GB, free: 14.19 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002928/1.319, allocations: 180.9 kB / 1.393 GB, free: 14.08 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001845/1.319, allocations: 389.9 kB / 1.393 GB, free: 13.71 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005908/1.32, allocations: 288.1 kB / 1.393 GB, free: 13.57 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007262/1.32, allocations: 396.2 kB / 1.394 GB, free: 13.34 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001213/1.322, allocations: 0.655 MB / 1.394 GB, free: 13 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/1.322, allocations: 0 / 1.394 GB, free: 13 MB / 1.092 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002155/1.324, allocations: 0.9254 MB / 1.395 GB, free: 12.52 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/1.324, allocations: 9.594 kB / 1.395 GB, free: 12.52 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/1.324, allocations: 5.312 kB / 1.395 GB, free: 12.51 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006474/1.324, allocations: 84.75 kB / 1.395 GB, free: 12.47 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007334/1.325, allocations: 177.1 kB / 1.396 GB, free: 12.43 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002107/1.327, allocations: 1.628 MB / 1.397 GB, free: 10.82 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009032/1.328, allocations: 103.2 kB / 1.397 GB, free: 10.76 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.67e-05/1.328, allocations: 36.91 kB / 1.397 GB, free: 10.75 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004949/1.329, allocations: 280.2 kB / 1.398 GB, free: 10.53 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001842/1.329, allocations: 89.75 kB / 1.398 GB, free: 10.48 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002615/1.331, allocations: 1.164 MB / 1.399 GB, free: 9.832 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/1.332, allocations: 13.88 kB / 1.399 GB, free: 9.828 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/1.332, allocations: 0 / 1.399 GB, free: 9.828 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.371e-05/1.332, allocations: 11.5 kB / 1.399 GB, free: 9.82 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/1.333, allocations: 0.9323 MB / 1.4 GB, free: 9.113 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/1.333, allocations: 0 / 1.4 GB, free: 9.113 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006641/1.333, allocations: 167.7 kB / 1.4 GB, free: 9.066 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004583/1.334, allocations: 78.38 kB / 1.4 GB, free: 9.023 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.069e-05/1.334, allocations: 24.05 kB / 1.4 GB, free: 9.008 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001876/1.336, allocations: 1.664 MB / 1.402 GB, free: 7.391 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/1.336, allocations: 0 / 1.402 GB, free: 7.391 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002043/1.338, allocations: 0.9962 MB / 1.403 GB, free: 6.859 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00042/1.338, allocations: 287.1 kB / 1.403 GB, free: 6.609 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/1.338, allocations: 22.88 kB / 1.403 GB, free: 6.594 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006716/1.339, allocations: 71.02 kB / 1.403 GB, free: 6.555 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001827/1.339, allocations: 83.42 kB / 1.403 GB, free: 6.512 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.782e-05/1.339, allocations: 35.44 kB / 1.403 GB, free: 6.5 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0006495/1.34, allocations: 481.1 kB / 1.404 GB, free: 6.227 MB / 1.092 GB Notification: Performance of sort global known variables: time 1e-07/1.34, allocations: 0 / 1.404 GB, free: 6.227 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0009935/1.341, allocations: 341.8 kB / 1.404 GB, free: 6.129 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001371/1.342, allocations: 0.6055 MB / 1.405 GB, free: 5.844 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001804/1.344, allocations: 0.859 MB / 1.405 GB, free: 5.395 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/1.344, allocations: 1.625 kB / 1.405 GB, free: 5.395 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.000929/1.345, allocations: 0.516 MB / 1.406 GB, free: 5.098 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/1.346, allocations: 318.3 kB / 1.406 GB, free: 4.934 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003565/1.35, allocations: 1.748 MB / 1.408 GB, free: 3.891 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008142/1.351, allocations: 1.044 MB / 1.409 GB, free: 3.031 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001184/1.352, allocations: 274.4 kB / 1.409 GB, free: 2.895 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003146/1.352, allocations: 111.7 kB / 1.409 GB, free: 2.859 MB / 1.092 GB Notification: Performance of SimCode: time 2.114e-06/1.352, allocations: 0 / 1.409 GB, free: 2.859 MB / 1.092 GB Notification: Performance of Templates: time 0.02985/1.382, allocations: 16.17 MB / 1.425 GB, free: 3.406 MB / 1.107 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches