Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007612/0.007612, allocations: 98.17 kB / 15.73 MB, free: 6.055 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.002041/0.002041, allocations: 195.3 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.817/2.817, allocations: 482.4 MB / 0.7548 GB, free: 6.902 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 62.84 kB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.2812, allocations: 162.2 MB / 1.241 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.008934/0.2902, allocations: 6.94 MB / 1.248 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1756/0.4658, allocations: 151.3 MB / 1.396 GB, free: 10.46 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008302/0.4667, allocations: 19.88 kB / 1.396 GB, free: 10.44 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0006754/0.4674, allocations: 257.5 kB / 1.396 GB, free: 10.18 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002042/0.4695, allocations: 0.8001 MB / 1.397 GB, free: 9.383 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002088/0.4716, allocations: 1 MB / 1.398 GB, free: 8.387 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002161/0.4737, allocations: 2.14 MB / 1.4 GB, free: 6.238 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001373/0.4751, allocations: 1.014 MB / 1.401 GB, free: 5.168 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009548/0.4761, allocations: 0.837 MB / 1.402 GB, free: 4.328 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00106/0.4772, allocations: 0.9025 MB / 1.403 GB, free: 3.422 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002753/0.4774, allocations: 204 kB / 1.403 GB, free: 3.223 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009998/0.4785, allocations: 0.566 MB / 1.403 GB, free: 2.656 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0004558/0.4789, allocations: 494.4 kB / 1.404 GB, free: 2.172 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0009099/0.4798, allocations: 0.9524 MB / 1.405 GB, free: 1.215 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002795/0.4826, allocations: 2.572 MB / 1.407 GB, free: 14.63 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.4827, allocations: 4 kB / 1.407 GB, free: 14.63 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.332e-06/0.4827, allocations: 0 / 1.407 GB, free: 14.63 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.659e-05/0.4827, allocations: 0 / 1.407 GB, free: 14.63 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.004008/0.4867, allocations: 2.117 MB / 1.409 GB, free: 12.45 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.4867, allocations: 8.031 kB / 1.409 GB, free: 12.44 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002835/0.487, allocations: 228 kB / 1.41 GB, free: 12.2 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001111/0.4882, allocations: 271.6 kB / 1.41 GB, free: 11.94 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001587/0.4898, allocations: 1.001 MB / 1.411 GB, free: 10.89 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/0.4899, allocations: 115.1 kB / 1.411 GB, free: 10.78 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002046/0.4901, allocations: 148 kB / 1.411 GB, free: 10.63 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002819/0.4929, allocations: 1.584 MB / 1.413 GB, free: 8.992 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.56e-05/0.493, allocations: 7.938 kB / 1.413 GB, free: 8.984 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001513/0.4931, allocations: 60 kB / 1.413 GB, free: 8.926 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.281e-05/0.4932, allocations: 36 kB / 1.413 GB, free: 8.891 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002953/0.4961, allocations: 1.647 MB / 1.414 GB, free: 7.238 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007206/0.5033, allocations: 4.787 MB / 1.419 GB, free: 2.215 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002336/0.5057, allocations: 1.187 MB / 1.42 GB, free: 1.031 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009038/0.5066, allocations: 479.7 kB / 1.421 GB, free: 0.5586 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001111/0.5067, allocations: 48.98 kB / 1.421 GB, free: 0.5117 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001429/0.5082, allocations: 0.7806 MB / 1.422 GB, free: 15.71 MB / 1.154 GB Notification: Performance of pre-optimization done (n=128): time 2.565e-06/0.5082, allocations: 0 / 1.422 GB, free: 15.71 MB / 1.154 GB Notification: Performance of matching and sorting (n=128): time 0.004709/0.5129, allocations: 1.85 MB / 1.423 GB, free: 13.84 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001315/0.513, allocations: 197.2 kB / 1.424 GB, free: 13.61 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/0.5142, allocations: 0.8733 MB / 1.424 GB, free: 12.71 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 9.193e-05/0.5143, allocations: 49.7 kB / 1.424 GB, free: 12.65 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005414/0.5149, allocations: 0.6262 MB / 1.425 GB, free: 12.02 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003896/0.5153, allocations: 428.5 kB / 1.425 GB, free: 11.59 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004004/0.5157, allocations: 238.8 kB / 1.426 GB, free: 11.35 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001852/0.5159, allocations: 353.9 kB / 1.426 GB, free: 11 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009118/0.5168, allocations: 430.4 kB / 1.426 GB, free: 10.58 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/0.5179, allocations: 0.5604 MB / 1.427 GB, free: 9.992 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001959/0.5199, allocations: 0.9623 MB / 1.428 GB, free: 9.02 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.5199, allocations: 0 / 1.428 GB, free: 9.02 MB / 1.154 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002998/0.5229, allocations: 1.305 MB / 1.429 GB, free: 7.703 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.5229, allocations: 4 kB / 1.429 GB, free: 7.699 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.5229, allocations: 4 kB / 1.429 GB, free: 7.695 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006161/0.5235, allocations: 84.83 kB / 1.429 GB, free: 7.609 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/0.5247, allocations: 259.6 kB / 1.43 GB, free: 7.355 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002295/0.527, allocations: 1.655 MB / 1.431 GB, free: 5.555 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/0.528, allocations: 155.1 kB / 1.431 GB, free: 5.402 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/0.5282, allocations: 51.95 kB / 1.431 GB, free: 5.352 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 30 (incAngEas.decAng.tNext,$PRE.incAngEas.decAng.tNext,incAngSou.decAng.tNext,$PRE.incAngSou.decAng.tNext,incAngWes.decAng.tNext,$PRE.incAngWes.decAng.tNext,incAngNor.decAng.tNext,$PRE.incAngNor.decAng.tNext,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,incAngHor.decAng.tNext,$PRE.incAngHor.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 148 * 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.0005394/0.5287, allocations: 344.8 kB / 1.432 GB, free: 5.004 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002348/0.529, allocations: 127.2 kB / 1.432 GB, free: 4.879 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003976/0.5329, allocations: 1.706 MB / 1.433 GB, free: 3.16 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.533, allocations: 12 kB / 1.433 GB, free: 3.148 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.533, allocations: 4 kB / 1.433 GB, free: 3.145 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-05/0.533, allocations: 11.97 kB / 1.433 GB, free: 3.133 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001728/0.5347, allocations: 1.416 MB / 1.435 GB, free: 1.664 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.5347, allocations: 0 / 1.435 GB, free: 1.664 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009952/0.5357, allocations: 215.7 kB / 1.435 GB, free: 1.453 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004761/0.5362, allocations: 72.78 kB / 1.435 GB, free: 1.379 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.965e-05/0.5363, allocations: 39.97 kB / 1.435 GB, free: 1.34 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002125/0.5385, allocations: 1.678 MB / 1.437 GB, free: 15.52 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.5385, allocations: 8.094 kB / 1.437 GB, free: 15.51 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003022/0.5415, allocations: 1.407 MB / 1.438 GB, free: 14.08 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005219/0.5421, allocations: 379.8 kB / 1.439 GB, free: 13.69 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001984/0.5423, allocations: 47.88 kB / 1.439 GB, free: 13.64 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009576/0.5432, allocations: 83.91 kB / 1.439 GB, free: 13.56 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000229/0.5435, allocations: 113.1 kB / 1.439 GB, free: 13.45 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001195/0.5436, allocations: 59.89 kB / 1.439 GB, free: 13.39 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.000929/0.5445, allocations: 0.6464 MB / 1.439 GB, free: 12.73 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5445, allocations: 0 / 1.439 GB, free: 12.73 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001042/0.5456, allocations: 490.7 kB / 1.44 GB, free: 12.25 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of discrete states: 10 (incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.005245/0.5508, allocations: 2.488 MB / 1.442 GB, free: 9.918 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002526/0.5534, allocations: 1.236 MB / 1.444 GB, free: 8.668 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.5534, allocations: 8.062 kB / 1.444 GB, free: 8.66 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001437/0.5548, allocations: 0.7401 MB / 1.444 GB, free: 7.906 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/0.5562, allocations: 361.8 kB / 1.445 GB, free: 7.578 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01578/0.572, allocations: 9.338 MB / 1.454 GB, free: 14.09 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009432/0.573, allocations: 1.236 MB / 1.455 GB, free: 12.82 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001027/0.574, allocations: 338 kB / 1.455 GB, free: 12.49 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009951/0.575, allocations: 0.6242 MB / 1.456 GB, free: 11.86 MB / 1.186 GB Notification: Performance of SimCode: time 2.71e-07/0.575, allocations: 0 / 1.456 GB, free: 11.86 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06973/0.6448, allocations: 31.16 MB / 1.486 GB, free: 13.05 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.68/14.32, allocations: 7.188 kB / 1.486 GB, free: 13.05 MB / 1.217 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches