Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 103.6 kB / 18.95 MB, free: 2.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002044/0.002044, allocations: 215.2 kB / 22.25 MB, free: 5.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.441/1.441, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.113/3.113, allocations: 0.49 GB / 0.7951 GB, free: 35.36 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003201/0.003201, allocations: 70.61 kB / 1.154 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.349, allocations: 176.1 MB / 1.326 GB, free: 1.531 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.00736/0.3564, allocations: 4.555 MB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1624/0.5188, allocations: 132.8 MB / 1.46 GB, free: 7.641 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009133/0.5197, allocations: 23.81 kB / 1.46 GB, free: 7.617 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0008086/0.5205, allocations: 202.1 kB / 1.46 GB, free: 7.418 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00222/0.5228, allocations: 0.5872 MB / 1.461 GB, free: 6.832 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002369/0.5251, allocations: 0.9156 MB / 1.462 GB, free: 5.922 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001931/0.5271, allocations: 1.487 MB / 1.463 GB, free: 4.43 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000949/0.528, allocations: 437.4 kB / 1.464 GB, free: 3.977 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009171/0.5289, allocations: 0.5451 MB / 1.464 GB, free: 3.43 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008807/0.5298, allocations: 0.5485 MB / 1.465 GB, free: 2.879 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003193/0.5301, allocations: 127.9 kB / 1.465 GB, free: 2.754 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001251/0.5314, allocations: 0.5192 MB / 1.465 GB, free: 2.234 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004279/0.5318, allocations: 326.9 kB / 1.466 GB, free: 1.914 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0007148/0.5325, allocations: 493.6 kB / 1.466 GB, free: 1.43 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002786/0.5353, allocations: 1.786 MB / 1.468 GB, free: 15.64 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.5353, allocations: 4 kB / 1.468 GB, free: 15.63 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5353, allocations: 0 / 1.468 GB, free: 15.63 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.448e-05/0.5354, allocations: 0 / 1.468 GB, free: 15.63 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.003368/0.5387, allocations: 1.487 MB / 1.469 GB, free: 14.11 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.5388, allocations: 8.031 kB / 1.469 GB, free: 14.1 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002217/0.539, allocations: 147.8 kB / 1.469 GB, free: 13.95 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001913/0.5409, allocations: 267.9 kB / 1.47 GB, free: 13.69 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001576/0.5425, allocations: 0.7374 MB / 1.47 GB, free: 12.92 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.819e-05/0.5426, allocations: 66 kB / 1.47 GB, free: 12.86 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/0.5427, allocations: 84 kB / 1.47 GB, free: 12.77 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002031/0.5448, allocations: 1.228 MB / 1.472 GB, free: 11.45 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.471e-05/0.5448, allocations: 0 / 1.472 GB, free: 11.45 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/0.5449, allocations: 40 kB / 1.472 GB, free: 11.41 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.256e-05/0.5449, allocations: 20 kB / 1.472 GB, free: 11.39 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002007/0.5469, allocations: 1.12 MB / 1.473 GB, free: 10.26 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004878/0.5518, allocations: 2.404 MB / 1.475 GB, free: 7.797 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002081/0.5539, allocations: 0.8529 MB / 1.476 GB, free: 6.93 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005787/0.5545, allocations: 292.2 kB / 1.476 GB, free: 6.645 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 9.365e-05/0.5545, allocations: 30.69 kB / 1.476 GB, free: 6.613 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001034/0.5556, allocations: 0.6436 MB / 1.477 GB, free: 5.93 MB / 1.17 GB Notification: Performance of pre-optimization done (n=88): time 3.326e-06/0.5556, allocations: 0 / 1.477 GB, free: 5.93 MB / 1.17 GB Notification: Performance of matching and sorting (n=88): time 0.003416/0.559, allocations: 1.235 MB / 1.478 GB, free: 4.684 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001329/0.5591, allocations: 188.9 kB / 1.478 GB, free: 4.457 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/0.5603, allocations: 0.6841 MB / 1.479 GB, free: 3.766 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001107/0.5604, allocations: 45.7 kB / 1.479 GB, free: 3.715 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004013/0.5608, allocations: 417.2 kB / 1.479 GB, free: 3.301 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003095/0.5611, allocations: 293.5 kB / 1.48 GB, free: 3.012 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002913/0.5614, allocations: 166.6 kB / 1.48 GB, free: 2.844 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002139/0.5616, allocations: 386.8 kB / 1.48 GB, free: 2.457 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005767/0.5622, allocations: 269.8 kB / 1.481 GB, free: 2.191 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007709/0.563, allocations: 0.503 MB / 1.481 GB, free: 1.633 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/0.5642, allocations: 0.6281 MB / 1.482 GB, free: 0.9922 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.5642, allocations: 0 / 1.482 GB, free: 0.9922 MB / 1.17 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002135/0.5664, allocations: 0.8725 MB / 1.482 GB, free: 112 kB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.5664, allocations: 9.719 kB / 1.482 GB, free: 104 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.5664, allocations: 96 / 1.482 GB, free: 104 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005781/0.567, allocations: 84.83 kB / 1.483 GB, free: 16 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006963/0.5677, allocations: 171.8 kB / 1.483 GB, free: 15.85 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002184/0.5699, allocations: 1.53 MB / 1.484 GB, free: 14.2 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008628/0.5707, allocations: 99.48 kB / 1.484 GB, free: 14.1 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/0.5708, allocations: 39.97 kB / 1.484 GB, free: 14.06 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 19 (solAzi.outsidePolarCircle,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 (96): * Single equations (assignments): 95 * 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.0005647/0.5714, allocations: 271.5 kB / 1.485 GB, free: 13.79 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002831/0.5717, allocations: 91.44 kB / 1.485 GB, free: 13.7 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002703/0.5744, allocations: 1.199 MB / 1.486 GB, free: 12.49 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/0.5744, allocations: 12 kB / 1.486 GB, free: 12.48 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.5744, allocations: 0 / 1.486 GB, free: 12.48 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/0.5744, allocations: 3.984 kB / 1.486 GB, free: 12.47 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003975/0.5784, allocations: 1.942 MB / 1.488 GB, free: 10.48 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.5784, allocations: 0 / 1.488 GB, free: 10.48 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006678/0.5791, allocations: 171.7 kB / 1.488 GB, free: 10.31 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004209/0.5795, allocations: 80.77 kB / 1.488 GB, free: 10.23 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.116e-05/0.5796, allocations: 27.98 kB / 1.488 GB, free: 10.2 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001958/0.5815, allocations: 1.562 MB / 1.49 GB, free: 8.516 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.5815, allocations: 0 / 1.49 GB, free: 8.516 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002432/0.584, allocations: 1.104 MB / 1.491 GB, free: 7.391 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005829/0.5845, allocations: 223 kB / 1.491 GB, free: 7.172 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000185/0.5847, allocations: 20 kB / 1.491 GB, free: 7.152 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007452/0.5855, allocations: 75.92 kB / 1.491 GB, free: 7.078 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001886/0.5857, allocations: 84.78 kB / 1.491 GB, free: 6.996 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.907e-05/0.5858, allocations: 39.97 kB / 1.491 GB, free: 6.957 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0007124/0.5865, allocations: 495 kB / 1.492 GB, free: 6.48 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5865, allocations: 0 / 1.492 GB, free: 6.48 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001099/0.5876, allocations: 351.1 kB / 1.492 GB, free: 6.137 MB / 1.186 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.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 99 * 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.004599/0.5922, allocations: 2.205 MB / 1.494 GB, free: 4.113 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0019/0.5941, allocations: 0.8429 MB / 1.495 GB, free: 3.262 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.5941, allocations: 3.938 kB / 1.495 GB, free: 3.258 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.5951, allocations: 0.5316 MB / 1.495 GB, free: 2.715 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/0.5966, allocations: 308.4 kB / 1.496 GB, free: 2.434 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01195/0.6085, allocations: 6.653 MB / 1.502 GB, free: 11.62 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005632/0.6091, allocations: 466.4 kB / 1.503 GB, free: 11.14 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0009437/0.61, allocations: 275.2 kB / 1.503 GB, free: 10.87 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006985/0.6107, allocations: 431.2 kB / 1.503 GB, free: 10.45 MB / 1.201 GB Notification: Performance of SimCode: time 9.81e-07/0.6107, allocations: 0 / 1.503 GB, free: 10.45 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06608/0.6768, allocations: 25.19 MB / 1.528 GB, free: 1.59 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.64/14.31, allocations: 11.12 kB / 1.528 GB, free: 1.582 MB / 1.217 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.csv --start-time 0 --stop-time 864000 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,solAzi.solAzi Variables in the result:time,decAng.calTimAux,decAng.decAng,decAng.modTimAux,solAzi.solAzi,solAzi.solTim [Calling sys.exit(0), Time elapsed: 21.02288215700537]