Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.001707/0.001707, 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.002212/0.002212, allocations: 215.7 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.41/1.41, allocations: 230.6 MB / 256 MB, free: 7.797 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.077/3.077, allocations: 0.49 GB / 0.7951 GB, free: 35.44 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.ZenithAngle,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_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.001963/0.001963, allocations: 62.16 kB / 1.154 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3339, allocations: 176.1 MB / 1.326 GB, free: 1.664 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006809/0.3407, allocations: 4.48 MB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1686/0.5093, allocations: 132.7 MB / 1.46 GB, free: 7.945 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008876/0.5102, allocations: 23.81 kB / 1.46 GB, free: 7.922 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006521/0.5108, allocations: 202.1 kB / 1.46 GB, free: 7.723 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001927/0.5128, allocations: 0.581 MB / 1.461 GB, free: 7.145 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002111/0.5149, allocations: 0.8741 MB / 1.461 GB, free: 6.273 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001723/0.5166, allocations: 1.452 MB / 1.463 GB, free: 4.816 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007684/0.5174, allocations: 421.9 kB / 1.463 GB, free: 4.379 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007857/0.5181, allocations: 0.5334 MB / 1.464 GB, free: 3.844 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000677/0.5188, allocations: 0.5251 MB / 1.464 GB, free: 3.316 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001821/0.519, allocations: 120 kB / 1.464 GB, free: 3.199 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00102/0.52, allocations: 0.4996 MB / 1.465 GB, free: 2.699 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.000312/0.5203, allocations: 307 kB / 1.465 GB, free: 2.398 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.000493/0.5208, allocations: 481.6 kB / 1.466 GB, free: 1.926 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002227/0.5231, allocations: 1.724 MB / 1.467 GB, free: 200 kB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.5231, allocations: 0 / 1.467 GB, free: 200 kB / 1.154 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5231, allocations: 4 kB / 1.467 GB, free: 196 kB / 1.154 GB Notification: Performance of Transformations before backend: time 2.322e-05/0.5231, allocations: 0 / 1.467 GB, free: 196 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002835/0.5259, allocations: 1.456 MB / 1.469 GB, free: 14.7 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.526, allocations: 12.03 kB / 1.469 GB, free: 14.68 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001735/0.5261, allocations: 131.5 kB / 1.469 GB, free: 14.55 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001659/0.5278, allocations: 252 kB / 1.469 GB, free: 14.3 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001382/0.5292, allocations: 0.7336 MB / 1.47 GB, free: 13.54 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.853e-05/0.5292, allocations: 62 kB / 1.47 GB, free: 13.48 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/0.5294, allocations: 84 kB / 1.47 GB, free: 13.39 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001774/0.5311, allocations: 1.193 MB / 1.471 GB, free: 12.1 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.5312, allocations: 7.984 kB / 1.471 GB, free: 12.09 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-05/0.5313, allocations: 40 kB / 1.471 GB, free: 12.05 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.01e-05/0.5313, allocations: 20 kB / 1.471 GB, free: 12.04 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001827/0.5331, allocations: 1.081 MB / 1.472 GB, free: 10.95 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00411/0.5372, allocations: 2.251 MB / 1.474 GB, free: 8.637 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00158/0.5388, allocations: 0.7859 MB / 1.475 GB, free: 7.836 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005624/0.5394, allocations: 278.7 kB / 1.476 GB, free: 7.562 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.686e-05/0.5394, allocations: 28.62 kB / 1.476 GB, free: 7.535 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001001/0.5404, allocations: 0.6141 MB / 1.476 GB, free: 6.879 MB / 1.17 GB Notification: Performance of pre-optimization done (n=84): time 3.085e-06/0.5404, allocations: 0 / 1.476 GB, free: 6.879 MB / 1.17 GB Notification: Performance of matching and sorting (n=84): time 0.003332/0.5438, allocations: 1.192 MB / 1.477 GB, free: 5.676 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/0.5439, allocations: 192.9 kB / 1.477 GB, free: 5.445 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009468/0.5449, allocations: 0.6645 MB / 1.478 GB, free: 4.773 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.841e-05/0.5449, allocations: 45.7 kB / 1.478 GB, free: 4.723 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.000375/0.5453, allocations: 413.1 kB / 1.479 GB, free: 4.312 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002591/0.5456, allocations: 285.7 kB / 1.479 GB, free: 4.031 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002412/0.5458, allocations: 154.6 kB / 1.479 GB, free: 3.875 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002037/0.546, allocations: 390.8 kB / 1.479 GB, free: 3.484 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005282/0.5466, allocations: 253.9 kB / 1.48 GB, free: 3.234 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007237/0.5473, allocations: 499.1 kB / 1.48 GB, free: 2.691 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/0.5484, allocations: 0.6086 MB / 1.481 GB, free: 2.074 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.5485, allocations: 0 / 1.481 GB, free: 2.074 MB / 1.17 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002089/0.5505, allocations: 0.8335 MB / 1.482 GB, free: 1.227 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.5506, allocations: 7.938 kB / 1.482 GB, free: 1.219 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.5506, allocations: 4 kB / 1.482 GB, free: 1.215 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006203/0.5512, allocations: 80.88 kB / 1.482 GB, free: 1.133 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006887/0.5519, allocations: 159.8 kB / 1.482 GB, free: 0.9766 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002198/0.5541, allocations: 1.527 MB / 1.483 GB, free: 15.33 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008266/0.5549, allocations: 95.45 kB / 1.483 GB, free: 15.24 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.507e-05/0.555, allocations: 27.98 kB / 1.483 GB, free: 15.21 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: 18 (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 (91): * Single equations (assignments): 90 * 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.0005105/0.5555, allocations: 282.5 kB / 1.484 GB, free: 14.93 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001969/0.5557, allocations: 87.44 kB / 1.484 GB, free: 14.84 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002548/0.5582, allocations: 1.14 MB / 1.485 GB, free: 13.69 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.5582, allocations: 8 kB / 1.485 GB, free: 13.68 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.5582, allocations: 0 / 1.485 GB, free: 13.68 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.5583, allocations: 3.984 kB / 1.485 GB, free: 13.68 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003581/0.5618, allocations: 1.88 MB / 1.487 GB, free: 11.74 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.084e-06/0.5618, allocations: 4 kB / 1.487 GB, free: 11.74 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006123/0.5625, allocations: 151.8 kB / 1.487 GB, free: 11.59 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004455/0.5629, allocations: 72.78 kB / 1.487 GB, free: 11.52 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-05/0.563, allocations: 27.97 kB / 1.487 GB, free: 11.49 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001986/0.5649, allocations: 1.551 MB / 1.488 GB, free: 9.82 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.5649, allocations: 0 / 1.488 GB, free: 9.82 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002179/0.5671, allocations: 1.057 MB / 1.489 GB, free: 8.742 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004962/0.5676, allocations: 219 kB / 1.49 GB, free: 8.527 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/0.5678, allocations: 27.92 kB / 1.49 GB, free: 8.5 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006579/0.5684, allocations: 62.19 kB / 1.49 GB, free: 8.441 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/0.5686, allocations: 84.84 kB / 1.49 GB, free: 8.359 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.027e-05/0.5687, allocations: 39.97 kB / 1.49 GB, free: 8.32 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006719/0.5693, allocations: 487 kB / 1.49 GB, free: 7.852 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/0.5693, allocations: 0 / 1.49 GB, free: 7.852 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.000936/0.5703, allocations: 327.2 kB / 1.491 GB, free: 7.531 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 (99): * Single equations (assignments): 92 * 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.004521/0.5748, allocations: 2.145 MB / 1.493 GB, free: 5.559 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.00185/0.5766, allocations: 0.804 MB / 1.494 GB, free: 4.746 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.271e-06/0.5766, allocations: 4 kB / 1.494 GB, free: 4.742 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009624/0.5776, allocations: 0.5118 MB / 1.494 GB, free: 4.219 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001365/0.579, allocations: 310.9 kB / 1.494 GB, free: 3.938 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01114/0.5901, allocations: 6.464 MB / 1.501 GB, free: 13.32 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005083/0.5906, allocations: 457.3 kB / 1.501 GB, free: 12.84 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0008522/0.5915, allocations: 275.1 kB / 1.501 GB, free: 12.56 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005991/0.5921, allocations: 419.2 kB / 1.502 GB, free: 12.15 MB / 1.201 GB Notification: Performance of SimCode: time 1.373e-06/0.5921, allocations: 0 / 1.502 GB, free: 12.15 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06526/0.6573, allocations: 24.46 MB / 1.526 GB, free: 4.016 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.78/14.44, allocations: 4.062 kB / 1.526 GB, free: 4.012 MB / 1.217 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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_BaseClasses_Examples_ZenithAngle.fmu > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable zen.zen in file Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.csv. Warning: Get data of variable zen.zen from file Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.27811749902321]