Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00189/0.00189, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002467/0.002467, allocations: 212.7 kB / 22.24 MB, free: 5.262 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.596/1.596, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.318/3.318, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_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.003045/0.003045, allocations: 62.97 kB / 1.186 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3809/0.384, allocations: 181.8 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.007694/0.3917, allocations: 4.483 MB / 1.368 GB, free: 9.605 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1774/0.569, allocations: 132.7 MB / 1.497 GB, free: 4.391 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001007/0.5701, allocations: 23.81 kB / 1.497 GB, free: 4.367 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0006983/0.5708, allocations: 206.1 kB / 1.498 GB, free: 4.164 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002202/0.573, allocations: 0.5798 MB / 1.498 GB, free: 3.586 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002348/0.5753, allocations: 0.8809 MB / 1.499 GB, free: 2.711 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002051/0.5774, allocations: 1.448 MB / 1.5 GB, free: 1.258 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008343/0.5782, allocations: 393.9 kB / 1.501 GB, free: 0.8477 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009143/0.5791, allocations: 0.5295 MB / 1.501 GB, free: 324 kB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007067/0.5798, allocations: 485.6 kB / 1.502 GB, free: 15.84 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001831/0.58, allocations: 120 kB / 1.502 GB, free: 15.72 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001106/0.5811, allocations: 491.7 kB / 1.502 GB, free: 15.24 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003195/0.5814, allocations: 318.9 kB / 1.503 GB, free: 14.93 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005018/0.5819, allocations: 477.7 kB / 1.503 GB, free: 14.46 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002373/0.5843, allocations: 1.724 MB / 1.505 GB, free: 12.73 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.5843, allocations: 4 kB / 1.505 GB, free: 12.73 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5843, allocations: 4 kB / 1.505 GB, free: 12.72 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.374e-05/0.5843, allocations: 0 / 1.505 GB, free: 12.72 MB / 1.201 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.5872, allocations: 1.452 MB / 1.506 GB, free: 11.23 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.5872, allocations: 12.03 kB / 1.506 GB, free: 11.22 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001733/0.5874, allocations: 135.5 kB / 1.506 GB, free: 11.08 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001696/0.5891, allocations: 255.9 kB / 1.507 GB, free: 10.83 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001443/0.5905, allocations: 0.7258 MB / 1.507 GB, free: 10.08 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.93e-05/0.5906, allocations: 73.94 kB / 1.507 GB, free: 10 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.5907, allocations: 80 kB / 1.507 GB, free: 9.926 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001883/0.5926, allocations: 1.189 MB / 1.509 GB, free: 8.637 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/0.5926, allocations: 11.94 kB / 1.509 GB, free: 8.625 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.019e-05/0.5927, allocations: 36 kB / 1.509 GB, free: 8.59 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.395e-05/0.5927, allocations: 23.98 kB / 1.509 GB, free: 8.566 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001866/0.5946, allocations: 1.077 MB / 1.51 GB, free: 7.488 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004301/0.5989, allocations: 2.255 MB / 1.512 GB, free: 5.168 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0016/0.6005, allocations: 0.775 MB / 1.513 GB, free: 4.383 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005579/0.6011, allocations: 286.7 kB / 1.513 GB, free: 4.102 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 8.228e-05/0.6011, allocations: 24.64 kB / 1.513 GB, free: 4.078 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001004/0.6021, allocations: 0.6248 MB / 1.514 GB, free: 3.41 MB / 1.201 GB Notification: Performance of pre-optimization done (n=84): time 2.745e-06/0.6021, allocations: 0 / 1.514 GB, free: 3.41 MB / 1.201 GB Notification: Performance of matching and sorting (n=84): time 0.003343/0.6055, allocations: 1.184 MB / 1.515 GB, free: 2.219 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001342/0.6056, allocations: 196.9 kB / 1.515 GB, free: 1.984 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009439/0.6066, allocations: 0.6607 MB / 1.516 GB, free: 1.312 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 9.345e-05/0.6067, allocations: 49.7 kB / 1.516 GB, free: 1.258 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.000369/0.607, allocations: 409.1 kB / 1.516 GB, free: 0.8516 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002644/0.6073, allocations: 289.5 kB / 1.516 GB, free: 0.5664 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002356/0.6075, allocations: 154.6 kB / 1.516 GB, free: 420 kB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002117/0.6077, allocations: 390.8 kB / 1.517 GB, free: 20 kB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000569/0.6083, allocations: 253.9 kB / 1.517 GB, free: 15.77 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007178/0.609, allocations: 0.4912 MB / 1.518 GB, free: 15.22 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/0.6102, allocations: 0.6008 MB / 1.518 GB, free: 14.61 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.6102, allocations: 0 / 1.518 GB, free: 14.61 MB / 1.217 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002062/0.6123, allocations: 0.8297 MB / 1.519 GB, free: 13.77 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.6123, allocations: 11.92 kB / 1.519 GB, free: 13.75 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.6123, allocations: 4.094 kB / 1.519 GB, free: 13.75 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005809/0.6129, allocations: 76.78 kB / 1.519 GB, free: 13.67 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006555/0.6135, allocations: 163.7 kB / 1.519 GB, free: 13.51 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002195/0.6157, allocations: 1.53 MB / 1.521 GB, free: 11.87 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007587/0.6165, allocations: 91.56 kB / 1.521 GB, free: 11.78 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.178e-05/0.6166, allocations: 35.98 kB / 1.521 GB, free: 11.74 MB / 1.217 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.0004897/0.617, allocations: 274.8 kB / 1.521 GB, free: 11.46 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001962/0.6172, allocations: 91.39 kB / 1.521 GB, free: 11.38 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002587/0.6198, allocations: 1.14 MB / 1.522 GB, free: 10.22 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.6198, allocations: 11.94 kB / 1.522 GB, free: 10.21 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.6198, allocations: 0 / 1.522 GB, free: 10.21 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.6199, allocations: 3.984 kB / 1.522 GB, free: 10.21 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003585/0.6234, allocations: 1.879 MB / 1.524 GB, free: 8.277 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.768e-06/0.6234, allocations: 0 / 1.524 GB, free: 8.277 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000618/0.6241, allocations: 151.8 kB / 1.524 GB, free: 8.129 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004363/0.6245, allocations: 76.72 kB / 1.524 GB, free: 8.051 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-05/0.6246, allocations: 27.92 kB / 1.524 GB, free: 8.023 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001997/0.6266, allocations: 1.555 MB / 1.526 GB, free: 6.352 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.6266, allocations: 0 / 1.526 GB, free: 6.352 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002303/0.6289, allocations: 1.057 MB / 1.527 GB, free: 5.273 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005402/0.6294, allocations: 215 kB / 1.527 GB, free: 5.062 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001411/0.6295, allocations: 20 kB / 1.527 GB, free: 5.043 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006841/0.6302, allocations: 63.92 kB / 1.527 GB, free: 4.98 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001692/0.6304, allocations: 84.84 kB / 1.527 GB, free: 4.898 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.881e-05/0.6305, allocations: 39.97 kB / 1.527 GB, free: 4.859 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0006703/0.6311, allocations: 483 kB / 1.528 GB, free: 4.395 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6311, allocations: 0 / 1.528 GB, free: 4.395 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0009404/0.6321, allocations: 335.1 kB / 1.528 GB, free: 4.066 MB / 1.217 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.004483/0.6366, allocations: 2.144 MB / 1.53 GB, free: 2.098 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001819/0.6384, allocations: 0.804 MB / 1.531 GB, free: 1.285 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.6384, allocations: 0 / 1.531 GB, free: 1.285 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.6394, allocations: 0.5041 MB / 1.531 GB, free: 0.7695 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/0.6407, allocations: 313.9 kB / 1.532 GB, free: 492 kB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01195/0.6527, allocations: 6.478 MB / 1.538 GB, free: 9.844 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005771/0.6533, allocations: 453.3 kB / 1.539 GB, free: 9.367 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0009799/0.6542, allocations: 263.1 kB / 1.539 GB, free: 9.105 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006657/0.6549, allocations: 423.2 kB / 1.539 GB, free: 8.695 MB / 1.232 GB Notification: Performance of SimCode: time 1.092e-06/0.6549, allocations: 0 / 1.539 GB, free: 8.695 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06711/0.722, allocations: 24.23 MB / 1.563 GB, free: 0.7852 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 14/14.72, allocations: 5.828 kB / 1.563 GB, free: 0.7812 MB / 1.248 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.csv --start-time 100000 --stop-time 300000 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 80 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.csv. Warning: Get data of variable zen.zen from file Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 22.106922761071473]