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.001638/0.001638, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00216/0.00216, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.462/1.462, allocations: 230.6 MB / 256 MB, free: 7.801 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.156/3.156, allocations: 0.4892 GB / 0.7943 GB, free: 35.71 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.002923/0.002923, allocations: 71.2 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.351, allocations: 176.1 MB / 1.325 GB, free: 2.391 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006742/0.3577, allocations: 4.39 MB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1688/0.5265, allocations: 132.7 MB / 1.459 GB, free: 8.793 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008895/0.5274, allocations: 27.75 kB / 1.459 GB, free: 8.766 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.00101/0.5284, allocations: 202.2 kB / 1.459 GB, free: 8.566 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002576/0.531, allocations: 0.5697 MB / 1.46 GB, free: 7.996 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002599/0.5336, allocations: 0.8621 MB / 1.461 GB, free: 7.141 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002099/0.5357, allocations: 1.397 MB / 1.462 GB, free: 5.738 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001083/0.5367, allocations: 405.5 kB / 1.462 GB, free: 5.32 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001058/0.5378, allocations: 0.4944 MB / 1.463 GB, free: 4.824 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001018/0.5388, allocations: 473.7 kB / 1.463 GB, free: 4.359 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.000338/0.5392, allocations: 116 kB / 1.463 GB, free: 4.246 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001295/0.5405, allocations: 0.4918 MB / 1.464 GB, free: 3.754 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004353/0.5409, allocations: 295 kB / 1.464 GB, free: 3.465 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.000764/0.5417, allocations: 469.7 kB / 1.465 GB, free: 3.004 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002985/0.5446, allocations: 1.712 MB / 1.466 GB, free: 1.285 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.5446, allocations: 0 / 1.466 GB, free: 1.285 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5446, allocations: 0 / 1.466 GB, free: 1.285 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.939e-05/0.5447, allocations: 0 / 1.466 GB, free: 1.285 MB / 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.003477/0.5482, allocations: 1.416 MB / 1.468 GB, free: 15.83 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.5482, allocations: 8.031 kB / 1.468 GB, free: 15.82 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002494/0.5485, allocations: 131.4 kB / 1.468 GB, free: 15.69 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001801/0.5503, allocations: 252 kB / 1.468 GB, free: 15.44 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001726/0.552, allocations: 0.7102 MB / 1.469 GB, free: 14.71 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.755e-05/0.5521, allocations: 62 kB / 1.469 GB, free: 14.64 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000209/0.5523, allocations: 80 kB / 1.469 GB, free: 14.57 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002395/0.5547, allocations: 1.169 MB / 1.47 GB, free: 13.3 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/0.5547, allocations: 0 / 1.47 GB, free: 13.3 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001138/0.5548, allocations: 40 kB / 1.47 GB, free: 13.26 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.152e-05/0.5549, allocations: 20 kB / 1.47 GB, free: 13.24 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002121/0.557, allocations: 1.065 MB / 1.471 GB, free: 12.17 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005208/0.5622, allocations: 2.244 MB / 1.473 GB, free: 9.859 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001755/0.5639, allocations: 0.7583 MB / 1.474 GB, free: 9.09 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006136/0.5646, allocations: 286.6 kB / 1.474 GB, free: 8.809 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.669e-05/0.5646, allocations: 24.62 kB / 1.474 GB, free: 8.785 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001141/0.5658, allocations: 0.5816 MB / 1.475 GB, free: 8.16 MB / 1.17 GB Notification: Performance of pre-optimization done (n=79): time 3.336e-06/0.5658, allocations: 0 / 1.475 GB, free: 8.16 MB / 1.17 GB Notification: Performance of matching and sorting (n=79): time 0.003413/0.5692, allocations: 1.131 MB / 1.476 GB, free: 7.02 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002761/0.5695, allocations: 188.6 kB / 1.476 GB, free: 6.793 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/0.5708, allocations: 0.6527 MB / 1.477 GB, free: 6.133 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001202/0.5709, allocations: 41.7 kB / 1.477 GB, free: 6.086 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004333/0.5713, allocations: 401.1 kB / 1.477 GB, free: 5.688 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003128/0.5716, allocations: 281.6 kB / 1.477 GB, free: 5.41 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002679/0.5719, allocations: 142.6 kB / 1.478 GB, free: 5.266 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002192/0.5721, allocations: 386.7 kB / 1.478 GB, free: 4.879 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005708/0.5727, allocations: 253.9 kB / 1.478 GB, free: 4.629 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000919/0.5736, allocations: 487 kB / 1.479 GB, free: 4.098 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/0.5748, allocations: 0.5761 MB / 1.479 GB, free: 3.512 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.5748, allocations: 4 kB / 1.479 GB, free: 3.508 MB / 1.17 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002149/0.577, allocations: 0.8062 MB / 1.48 GB, free: 2.688 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.577, allocations: 4 kB / 1.48 GB, free: 2.684 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.577, allocations: 4 kB / 1.48 GB, free: 2.68 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006481/0.5776, allocations: 88.77 kB / 1.48 GB, free: 2.59 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006539/0.5783, allocations: 143.8 kB / 1.48 GB, free: 2.449 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00256/0.5808, allocations: 1.542 MB / 1.482 GB, free: 0.7891 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008549/0.5817, allocations: 79.58 kB / 1.482 GB, free: 0.7109 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/0.5818, allocations: 27.98 kB / 1.482 GB, free: 0.6836 MB / 1.17 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.0006702/0.5825, allocations: 282.3 kB / 1.482 GB, free: 408 kB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003248/0.5828, allocations: 91.44 kB / 1.482 GB, free: 316 kB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002831/0.5857, allocations: 1.062 MB / 1.483 GB, free: 15.23 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.58e-05/0.5857, allocations: 11.94 kB / 1.483 GB, free: 15.22 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.5857, allocations: 0 / 1.483 GB, free: 15.22 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.5857, allocations: 7.922 kB / 1.483 GB, free: 15.21 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003961/0.5897, allocations: 1.814 MB / 1.485 GB, free: 13.35 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.493e-06/0.5897, allocations: 0 / 1.485 GB, free: 13.35 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005972/0.5903, allocations: 139.8 kB / 1.485 GB, free: 13.21 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000462/0.5907, allocations: 76.78 kB / 1.485 GB, free: 13.13 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.053e-05/0.5908, allocations: 23.98 kB / 1.485 GB, free: 13.11 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002194/0.593, allocations: 1.57 MB / 1.487 GB, free: 11.42 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.593, allocations: 0 / 1.487 GB, free: 11.42 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002407/0.5954, allocations: 1.002 MB / 1.488 GB, free: 10.4 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000609/0.596, allocations: 207 kB / 1.488 GB, free: 10.2 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002089/0.5962, allocations: 24 kB / 1.488 GB, free: 10.17 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007598/0.597, allocations: 59.94 kB / 1.488 GB, free: 10.11 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00018/0.5972, allocations: 72.86 kB / 1.488 GB, free: 10.04 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.172e-05/0.5973, allocations: 39.97 kB / 1.488 GB, free: 10 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0007777/0.598, allocations: 471 kB / 1.489 GB, free: 9.547 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.4e-07/0.598, allocations: 3.938 kB / 1.489 GB, free: 9.543 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009961/0.599, allocations: 319.2 kB / 1.489 GB, free: 9.23 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.004669/0.6037, allocations: 2.079 MB / 1.491 GB, free: 7.332 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001956/0.6057, allocations: 0.7728 MB / 1.492 GB, free: 6.547 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.6057, allocations: 0 / 1.492 GB, free: 6.547 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.00106/0.6067, allocations: 0.4962 MB / 1.492 GB, free: 6.043 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001543/0.6083, allocations: 323.4 kB / 1.492 GB, free: 5.746 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0121/0.6204, allocations: 6.262 MB / 1.499 GB, free: 15.33 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005831/0.6209, allocations: 443.7 kB / 1.499 GB, free: 14.86 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0009324/0.6219, allocations: 258.7 kB / 1.499 GB, free: 14.61 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006655/0.6225, allocations: 383.3 kB / 1.5 GB, free: 14.23 MB / 1.201 GB Notification: Performance of SimCode: time 1.313e-06/0.6225, allocations: 0 / 1.5 GB, free: 14.23 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06938/0.6919, allocations: 23.5 MB / 1.523 GB, free: 7.039 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.03/14.72, allocations: 17.05 kB / 1.523 GB, free: 7.031 MB / 1.217 GB " [Timeout remaining time 285] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.csv --start-time 100000 --stop-time 300000 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 80 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.csv","/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] "Error: Could not read variable zen.y in file Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.csv. Warning: Get data of variable zen.y from file Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.633753762114793]