Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.001747/0.001747, 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.001902/0.001902, allocations: 216.2 kB / 22.24 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.424/1.424, allocations: 230.6 MB / 256 MB, free: 7.789 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.08/3.08, allocations: 0.49 GB / 0.7951 GB, free: 35.52 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.Examples.ZenithAngle,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",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.001934/0.001934, allocations: 62.44 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.3566, allocations: 176.1 MB / 1.326 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006856/0.3634, allocations: 4.387 MB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1719/0.5354, allocations: 132.7 MB / 1.46 GB, free: 7.887 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009588/0.5363, allocations: 23.81 kB / 1.46 GB, free: 7.863 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006639/0.537, allocations: 198.2 kB / 1.46 GB, free: 7.668 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001856/0.5388, allocations: 0.5607 MB / 1.46 GB, free: 7.105 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002068/0.5409, allocations: 0.8599 MB / 1.461 GB, free: 6.254 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001752/0.5427, allocations: 1.405 MB / 1.463 GB, free: 4.844 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007391/0.5434, allocations: 417.8 kB / 1.463 GB, free: 4.41 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007885/0.5442, allocations: 0.5061 MB / 1.464 GB, free: 3.902 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006839/0.5449, allocations: 0.5056 MB / 1.464 GB, free: 3.395 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.000162/0.545, allocations: 120 kB / 1.464 GB, free: 3.277 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001048/0.5461, allocations: 0.4996 MB / 1.465 GB, free: 2.777 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003297/0.5464, allocations: 307 kB / 1.465 GB, free: 2.477 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004938/0.5469, allocations: 461.8 kB / 1.465 GB, free: 2.023 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002211/0.5491, allocations: 1.712 MB / 1.467 GB, free: 312 kB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.5491, allocations: 0 / 1.467 GB, free: 312 kB / 1.154 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5491, allocations: 0 / 1.467 GB, free: 312 kB / 1.154 GB Notification: Performance of Transformations before backend: time 1.698e-05/0.5491, allocations: 0 / 1.467 GB, free: 312 kB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002751/0.5519, allocations: 1.415 MB / 1.468 GB, free: 14.85 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.5519, allocations: 12.03 kB / 1.468 GB, free: 14.84 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001806/0.5521, allocations: 131.4 kB / 1.469 GB, free: 14.7 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001693/0.5538, allocations: 240 kB / 1.469 GB, free: 14.47 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001425/0.5552, allocations: 0.7141 MB / 1.47 GB, free: 13.73 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.882e-05/0.5553, allocations: 66 kB / 1.47 GB, free: 13.66 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/0.5554, allocations: 76 kB / 1.47 GB, free: 13.59 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001814/0.5573, allocations: 1.169 MB / 1.471 GB, free: 12.32 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/0.5573, allocations: 3.984 kB / 1.471 GB, free: 12.31 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.522e-05/0.5574, allocations: 36 kB / 1.471 GB, free: 12.28 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.861e-05/0.5574, allocations: 20 kB / 1.471 GB, free: 12.26 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001769/0.5592, allocations: 1.073 MB / 1.472 GB, free: 11.18 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004293/0.5634, allocations: 2.24 MB / 1.474 GB, free: 8.875 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001497/0.5649, allocations: 0.7738 MB / 1.475 GB, free: 8.09 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005094/0.5655, allocations: 274.7 kB / 1.475 GB, free: 7.82 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.31e-05/0.5655, allocations: 24.62 kB / 1.475 GB, free: 7.797 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009271/0.5665, allocations: 0.5816 MB / 1.476 GB, free: 7.172 MB / 1.17 GB Notification: Performance of pre-optimization done (n=79): time 2.404e-06/0.5665, allocations: 3.938 kB / 1.476 GB, free: 7.168 MB / 1.17 GB Notification: Performance of matching and sorting (n=79): time 0.003195/0.5696, allocations: 1.127 MB / 1.477 GB, free: 6.031 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001268/0.5698, allocations: 188.6 kB / 1.477 GB, free: 5.805 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008886/0.5707, allocations: 0.6489 MB / 1.478 GB, free: 5.148 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.249e-05/0.5707, allocations: 45.7 kB / 1.478 GB, free: 5.098 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003569/0.5711, allocations: 409 kB / 1.478 GB, free: 4.691 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002496/0.5714, allocations: 265.7 kB / 1.478 GB, free: 4.43 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002285/0.5716, allocations: 146.6 kB / 1.478 GB, free: 4.281 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002074/0.5718, allocations: 390.7 kB / 1.479 GB, free: 3.891 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004851/0.5723, allocations: 245.9 kB / 1.479 GB, free: 3.648 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006668/0.5729, allocations: 491 kB / 1.48 GB, free: 3.113 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/0.574, allocations: 0.5838 MB / 1.48 GB, free: 2.52 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.574, allocations: 64 / 1.48 GB, free: 2.52 MB / 1.17 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001941/0.576, allocations: 0.7985 MB / 1.481 GB, free: 1.707 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.754e-05/0.576, allocations: 13.7 kB / 1.481 GB, free: 1.695 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.576, allocations: 0 / 1.481 GB, free: 1.695 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006579/0.5767, allocations: 84.81 kB / 1.481 GB, free: 1.609 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006473/0.5773, allocations: 155.7 kB / 1.481 GB, free: 1.457 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0024/0.5797, allocations: 1.531 MB / 1.483 GB, free: 15.8 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000723/0.5804, allocations: 87.67 kB / 1.483 GB, free: 15.72 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.1e-05/0.5805, allocations: 31.98 kB / 1.483 GB, free: 15.69 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: 15 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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.0004499/0.5809, allocations: 270.1 kB / 1.483 GB, free: 15.41 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001757/0.5811, allocations: 87.62 kB / 1.483 GB, free: 15.33 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002398/0.5835, allocations: 1.062 MB / 1.484 GB, free: 14.25 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.5835, allocations: 8 kB / 1.484 GB, free: 14.25 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.5835, allocations: 7.922 kB / 1.484 GB, free: 14.24 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.5835, allocations: 7.922 kB / 1.484 GB, free: 14.23 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003316/0.5869, allocations: 1.814 MB / 1.486 GB, free: 12.36 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.5869, allocations: 0 / 1.486 GB, free: 12.36 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005793/0.5874, allocations: 147.8 kB / 1.486 GB, free: 12.22 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004602/0.5879, allocations: 76.78 kB / 1.486 GB, free: 12.14 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.316e-05/0.588, allocations: 19.98 kB / 1.486 GB, free: 12.12 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001985/0.5899, allocations: 1.566 MB / 1.488 GB, free: 10.43 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5899, allocations: 0 / 1.488 GB, free: 10.43 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002059/0.592, allocations: 1.002 MB / 1.489 GB, free: 9.414 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004645/0.5925, allocations: 215 kB / 1.489 GB, free: 9.203 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.5926, allocations: 19.98 kB / 1.489 GB, free: 9.184 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006767/0.5933, allocations: 63.94 kB / 1.489 GB, free: 9.121 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/0.5934, allocations: 68.86 kB / 1.489 GB, free: 9.051 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.241e-05/0.5935, allocations: 35.98 kB / 1.489 GB, free: 9.016 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006566/0.5941, allocations: 475 kB / 1.489 GB, free: 8.559 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/0.5941, allocations: 0 / 1.489 GB, free: 8.559 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009144/0.5951, allocations: 319.2 kB / 1.49 GB, free: 8.246 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.004345/0.5994, allocations: 2.092 MB / 1.492 GB, free: 6.336 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.00171/0.6011, allocations: 0.7726 MB / 1.493 GB, free: 5.551 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.6011, allocations: 0 / 1.493 GB, free: 5.551 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009147/0.602, allocations: 0.4925 MB / 1.493 GB, free: 5.051 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.6033, allocations: 312.2 kB / 1.493 GB, free: 4.762 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/0.6137, allocations: 6.277 MB / 1.499 GB, free: 14.33 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004678/0.6141, allocations: 434 kB / 1.5 GB, free: 13.88 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0008048/0.615, allocations: 266.7 kB / 1.5 GB, free: 13.61 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005604/0.6155, allocations: 387.3 kB / 1.501 GB, free: 13.23 MB / 1.201 GB Notification: Performance of SimCode: time 7.71e-07/0.6155, allocations: 0 / 1.501 GB, free: 13.23 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06639/0.6819, allocations: 23.74 MB / 1.524 GB, free: 5.797 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.29/13.97, allocations: 4 kB / 1.524 GB, free: 5.793 MB / 1.217 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --stepSize=80 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.621079870994436]