Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 107.3 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.058/3.058, allocations: 497.2 MB / 0.7811 GB, free: 33.59 MB / 0.6231 GB " [Timeout remaining time 177] 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.ZenithAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 61.03 kB / 1.134 GB, free: 33.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3186, allocations: 173.9 MB / 1.304 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.00687/0.3254, allocations: 4.824 MB / 1.309 GB, free: 12.71 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1783/0.5037, allocations: 151.1 MB / 1.456 GB, free: 5.062 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008022/0.5045, allocations: 19.94 kB / 1.456 GB, free: 5.043 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006773/0.5052, allocations: 206.1 kB / 1.456 GB, free: 4.84 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001876/0.5071, allocations: 0.5435 MB / 1.457 GB, free: 4.297 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002057/0.5092, allocations: 0.8379 MB / 1.458 GB, free: 3.465 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001876/0.511, allocations: 1.378 MB / 1.459 GB, free: 2.082 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008549/0.5119, allocations: 434.3 kB / 1.459 GB, free: 1.633 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008005/0.5127, allocations: 486.4 kB / 1.46 GB, free: 1.156 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007032/0.5134, allocations: 0.4979 MB / 1.46 GB, free: 0.6562 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001919/0.5136, allocations: 119.9 kB / 1.461 GB, free: 0.5391 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009874/0.5146, allocations: 495.5 kB / 1.461 GB, free: 56 kB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003191/0.5149, allocations: 303 kB / 1.461 GB, free: 15.76 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0005962/0.5155, allocations: 0.5558 MB / 1.462 GB, free: 15.2 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002306/0.5178, allocations: 1.65 MB / 1.463 GB, free: 13.54 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.5178, allocations: 0 / 1.463 GB, free: 13.54 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.204e-06/0.5178, allocations: 0 / 1.463 GB, free: 13.54 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.234e-05/0.5178, allocations: 7.938 kB / 1.463 GB, free: 13.54 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002863/0.5207, allocations: 1.455 MB / 1.465 GB, free: 12.03 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.539e-05/0.5207, allocations: 12.92 kB / 1.465 GB, free: 12.02 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001712/0.5209, allocations: 135.3 kB / 1.465 GB, free: 11.88 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009462/0.5219, allocations: 192.1 kB / 1.465 GB, free: 11.69 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001388/0.5232, allocations: 0.7661 MB / 1.466 GB, free: 10.88 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.539e-05/0.5233, allocations: 58 kB / 1.466 GB, free: 10.82 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.5234, allocations: 83.94 kB / 1.466 GB, free: 10.74 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001612/0.525, allocations: 0.9184 MB / 1.467 GB, free: 9.777 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.5251, allocations: 0 / 1.467 GB, free: 9.777 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.058e-05/0.5252, allocations: 43.98 kB / 1.467 GB, free: 9.734 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/0.5252, allocations: 20 kB / 1.467 GB, free: 9.715 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001874/0.5271, allocations: 1.104 MB / 1.468 GB, free: 8.609 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0044/0.5315, allocations: 2.767 MB / 1.471 GB, free: 5.711 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001607/0.5331, allocations: 0.8445 MB / 1.472 GB, free: 4.844 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005319/0.5336, allocations: 282.7 kB / 1.472 GB, free: 4.562 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.7e-05/0.5337, allocations: 28.61 kB / 1.472 GB, free: 4.535 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008692/0.5345, allocations: 0.4928 MB / 1.472 GB, free: 4.023 MB / 1.17 GB Notification: Performance of pre-optimization done (n=79): time 3.025e-06/0.5345, allocations: 0 / 1.472 GB, free: 4.023 MB / 1.17 GB Notification: Performance of matching and sorting (n=79): time 0.003158/0.5377, allocations: 1.19 MB / 1.474 GB, free: 2.809 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000141/0.5378, allocations: 192.5 kB / 1.474 GB, free: 2.578 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008866/0.5387, allocations: 0.6254 MB / 1.474 GB, free: 1.949 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.339e-05/0.5388, allocations: 45.7 kB / 1.474 GB, free: 1.898 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003825/0.5392, allocations: 405 kB / 1.475 GB, free: 1.496 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002574/0.5395, allocations: 265.8 kB / 1.475 GB, free: 1.234 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002291/0.5397, allocations: 146.6 kB / 1.475 GB, free: 1.086 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000212/0.5399, allocations: 386.7 kB / 1.476 GB, free: 0.6992 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004971/0.5404, allocations: 241.9 kB / 1.476 GB, free: 476 kB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006283/0.541, allocations: 358.6 kB / 1.476 GB, free: 88 kB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.5421, allocations: 0.58 MB / 1.477 GB, free: 15.49 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.5421, allocations: 4 kB / 1.477 GB, free: 15.49 MB / 1.186 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001921/0.544, allocations: 0.8062 MB / 1.478 GB, free: 14.67 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/0.5441, allocations: 9.969 kB / 1.478 GB, free: 14.66 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.5441, allocations: 0 / 1.478 GB, free: 14.66 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006262/0.5447, allocations: 88.8 kB / 1.478 GB, free: 14.57 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006306/0.5453, allocations: 147.8 kB / 1.478 GB, free: 14.43 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002431/0.5478, allocations: 1.642 MB / 1.479 GB, free: 12.65 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007206/0.5485, allocations: 95.39 kB / 1.479 GB, free: 12.55 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.136e-05/0.5486, allocations: 36.05 kB / 1.479 GB, free: 12.52 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.0004878/0.5491, allocations: 261.6 kB / 1.48 GB, free: 12.25 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001979/0.5493, allocations: 91.47 kB / 1.48 GB, free: 12.16 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002435/0.5517, allocations: 1.066 MB / 1.481 GB, free: 11.08 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.5517, allocations: 11.94 kB / 1.481 GB, free: 11.07 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.5517, allocations: 0 / 1.481 GB, free: 11.07 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.5517, allocations: 3.984 kB / 1.481 GB, free: 11.06 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003513/0.5552, allocations: 1.971 MB / 1.483 GB, free: 9.035 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.5552, allocations: 0 / 1.483 GB, free: 9.035 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005636/0.5558, allocations: 143.8 kB / 1.483 GB, free: 8.895 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004368/0.5562, allocations: 72.78 kB / 1.483 GB, free: 8.82 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.686e-05/0.5563, allocations: 23.98 kB / 1.483 GB, free: 8.797 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002083/0.5584, allocations: 1.674 MB / 1.485 GB, free: 6.977 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/0.5584, allocations: 8.094 kB / 1.485 GB, free: 6.969 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002121/0.5605, allocations: 0.9945 MB / 1.486 GB, free: 5.957 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004975/0.561, allocations: 280.2 kB / 1.486 GB, free: 5.664 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/0.5611, allocations: 23.98 kB / 1.486 GB, free: 5.641 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006362/0.5618, allocations: 64.06 kB / 1.486 GB, free: 5.578 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/0.5619, allocations: 68.89 kB / 1.486 GB, free: 5.512 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-05/0.562, allocations: 35.98 kB / 1.486 GB, free: 5.477 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006253/0.5626, allocations: 455 kB / 1.487 GB, free: 5.035 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5626, allocations: 4 kB / 1.487 GB, free: 5.031 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009343/0.5636, allocations: 315.2 kB / 1.487 GB, free: 4.723 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.004208/0.5678, allocations: 2.044 MB / 1.489 GB, free: 2.84 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001777/0.5695, allocations: 0.7688 MB / 1.49 GB, free: 2.062 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.5695, allocations: 0 / 1.49 GB, free: 2.062 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009727/0.5705, allocations: 0.4924 MB / 1.49 GB, free: 1.555 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/0.5719, allocations: 305.9 kB / 1.49 GB, free: 1.281 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/0.5826, allocations: 6.208 MB / 1.496 GB, free: 10.96 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007093/0.5834, allocations: 1.019 MB / 1.497 GB, free: 9.902 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0008413/0.5842, allocations: 262.6 kB / 1.498 GB, free: 9.641 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000544/0.5847, allocations: 367.3 kB / 1.498 GB, free: 9.281 MB / 1.201 GB Notification: Performance of SimCode: time 1.363e-06/0.5847, allocations: 4 kB / 1.498 GB, free: 9.277 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06155/0.6463, allocations: 21.69 MB / 1.519 GB, free: 3.895 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.62/14.27, allocations: 5.781 kB / 1.519 GB, free: 3.891 MB / 1.217 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --stepSize=80 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.839180268812925]