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.001307/0.001307, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.001593/0.001593, allocations: 219.8 kB / 23.04 MB, free: 5.074 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.423/1.423, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.135/3.135, allocations: 0.5003 GB / 0.8061 GB, free: 26.77 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="cs",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.001983/0.001983, allocations: 68.27 kB / 1.171 GB, free: 19.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3615, allocations: 179 MB / 1.345 GB, free: 0.5078 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.007864/0.3694, allocations: 5 MB / 1.35 GB, free: 11.48 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1841/0.5535, allocations: 154.2 MB / 1.501 GB, free: 0.7227 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008619/0.5543, allocations: 27.81 kB / 1.501 GB, free: 0.6953 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0006527/0.555, allocations: 202.1 kB / 1.501 GB, free: 0.4961 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001936/0.5569, allocations: 0.5798 MB / 1.502 GB, free: 15.91 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002159/0.5591, allocations: 0.8883 MB / 1.502 GB, free: 15.03 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001958/0.561, allocations: 1.452 MB / 1.504 GB, free: 13.57 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008086/0.5618, allocations: 417.9 kB / 1.504 GB, free: 13.14 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008797/0.5627, allocations: 0.5295 MB / 1.505 GB, free: 12.61 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000903/0.5636, allocations: 0.529 MB / 1.505 GB, free: 12.08 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002789/0.5639, allocations: 120 kB / 1.505 GB, free: 11.96 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001213/0.5651, allocations: 0.5074 MB / 1.506 GB, free: 11.46 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003963/0.5655, allocations: 326.9 kB / 1.506 GB, free: 11.14 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0007873/0.5663, allocations: 0.5752 MB / 1.507 GB, free: 10.56 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002697/0.569, allocations: 1.716 MB / 1.508 GB, free: 8.836 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.569, allocations: 0 / 1.508 GB, free: 8.836 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.313e-06/0.569, allocations: 4 kB / 1.508 GB, free: 8.832 MB / 1.201 GB Notification: Performance of Transformations before backend: time 4.662e-05/0.569, allocations: 7.875 kB / 1.508 GB, free: 8.824 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.003157/0.5722, allocations: 1.46 MB / 1.51 GB, free: 7.324 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.5722, allocations: 8.031 kB / 1.51 GB, free: 7.316 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.593e-05/0.5723, allocations: 26.12 kB / 1.51 GB, free: 7.293 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001688/0.5724, allocations: 135.5 kB / 1.51 GB, free: 7.152 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001781/0.5742, allocations: 256 kB / 1.51 GB, free: 6.902 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/0.5756, allocations: 0.7178 MB / 1.511 GB, free: 6.16 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.074e-05/0.5757, allocations: 66 kB / 1.511 GB, free: 6.094 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.5758, allocations: 80 kB / 1.511 GB, free: 6.016 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001751/0.5776, allocations: 0.9456 MB / 1.512 GB, free: 5.031 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.855e-05/0.5776, allocations: 0 / 1.512 GB, free: 5.031 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.008e-05/0.5777, allocations: 39.94 kB / 1.512 GB, free: 4.992 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.575e-05/0.5777, allocations: 24 kB / 1.512 GB, free: 4.969 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001904/0.5796, allocations: 1.12 MB / 1.513 GB, free: 3.848 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004742/0.5843, allocations: 2.74 MB / 1.516 GB, free: 0.9805 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001593/0.5859, allocations: 0.7807 MB / 1.517 GB, free: 192 kB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005866/0.5865, allocations: 286.6 kB / 1.517 GB, free: 15.9 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 8.578e-05/0.5866, allocations: 32.69 kB / 1.517 GB, free: 15.87 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009674/0.5876, allocations: 0.5137 MB / 1.517 GB, free: 15.34 MB / 1.217 GB Notification: Performance of pre-optimization done (n=84): time 2.725e-06/0.5876, allocations: 4 kB / 1.517 GB, free: 15.34 MB / 1.217 GB Notification: Performance of matching and sorting (n=84): time 0.003518/0.5911, allocations: 1.18 MB / 1.519 GB, free: 14.15 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001467/0.5912, allocations: 200.8 kB / 1.519 GB, free: 13.91 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/0.5923, allocations: 0.6607 MB / 1.519 GB, free: 13.24 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 9.648e-05/0.5924, allocations: 45.7 kB / 1.519 GB, free: 13.19 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004246/0.5928, allocations: 417 kB / 1.52 GB, free: 12.77 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002948/0.5931, allocations: 277.6 kB / 1.52 GB, free: 12.5 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000259/0.5934, allocations: 158.6 kB / 1.52 GB, free: 12.34 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002077/0.5936, allocations: 382.8 kB / 1.521 GB, free: 11.96 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005406/0.5941, allocations: 257.9 kB / 1.521 GB, free: 11.7 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006809/0.5948, allocations: 378.5 kB / 1.521 GB, free: 11.31 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/0.596, allocations: 0.6008 MB / 1.522 GB, free: 10.7 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.596, allocations: 0 / 1.522 GB, free: 10.7 MB / 1.217 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002099/0.5981, allocations: 0.8375 MB / 1.523 GB, free: 9.848 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.5981, allocations: 11.94 kB / 1.523 GB, free: 9.836 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.537e-06/0.5981, allocations: 3.938 kB / 1.523 GB, free: 9.832 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006288/0.5987, allocations: 84.86 kB / 1.523 GB, free: 9.746 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006728/0.5994, allocations: 159.7 kB / 1.523 GB, free: 9.59 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002344/0.6017, allocations: 1.529 MB / 1.524 GB, free: 7.945 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000839/0.6026, allocations: 99.52 kB / 1.524 GB, free: 7.848 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.247e-05/0.6027, allocations: 35.92 kB / 1.525 GB, free: 7.812 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.0005154/0.6032, allocations: 273.6 kB / 1.525 GB, free: 7.535 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002099/0.6034, allocations: 87.44 kB / 1.525 GB, free: 7.449 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002652/0.606, allocations: 1.136 MB / 1.526 GB, free: 6.297 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/0.606, allocations: 12 kB / 1.526 GB, free: 6.285 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.6061, allocations: 4 kB / 1.526 GB, free: 6.281 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.6061, allocations: 3.984 kB / 1.526 GB, free: 6.277 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003808/0.6099, allocations: 2.004 MB / 1.528 GB, free: 4.219 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.6099, allocations: 3.984 kB / 1.528 GB, free: 4.215 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006372/0.6105, allocations: 159.7 kB / 1.528 GB, free: 4.059 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000473/0.611, allocations: 72.78 kB / 1.528 GB, free: 3.984 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-05/0.6111, allocations: 23.98 kB / 1.528 GB, free: 3.961 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002102/0.6132, allocations: 1.555 MB / 1.53 GB, free: 2.285 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.6132, allocations: 8.094 kB / 1.53 GB, free: 2.277 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002439/0.6156, allocations: 1.053 MB / 1.531 GB, free: 1.203 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006408/0.6163, allocations: 211 kB / 1.531 GB, free: 0.9961 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002147/0.6165, allocations: 23.98 kB / 1.531 GB, free: 0.9727 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007944/0.6173, allocations: 63.94 kB / 1.531 GB, free: 0.9102 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000192/0.6175, allocations: 84.84 kB / 1.531 GB, free: 0.8281 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.926e-05/0.6175, allocations: 35.97 kB / 1.531 GB, free: 0.793 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0007544/0.6183, allocations: 487 kB / 1.532 GB, free: 332 kB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.6183, allocations: 0 / 1.532 GB, free: 332 kB / 1.217 GB Notification: Performance of remove unused functions: time 0.001081/0.6194, allocations: 335.1 kB / 1.532 GB, free: 15.99 MB / 1.232 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.004678/0.6241, allocations: 2.115 MB / 1.534 GB, free: 14.03 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001944/0.626, allocations: 0.7999 MB / 1.535 GB, free: 13.22 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.626, allocations: 0 / 1.535 GB, free: 13.22 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001058/0.6271, allocations: 0.5121 MB / 1.535 GB, free: 12.7 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001626/0.6287, allocations: 309.9 kB / 1.536 GB, free: 12.42 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01267/0.6414, allocations: 6.478 MB / 1.542 GB, free: 5.789 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000825/0.6422, allocations: 1.04 MB / 1.543 GB, free: 4.715 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0009562/0.6431, allocations: 275 kB / 1.543 GB, free: 4.441 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007041/0.6438, allocations: 411.3 kB / 1.544 GB, free: 4.039 MB / 1.232 GB Notification: Performance of SimCode: time 1.312e-06/0.6438, allocations: 0 / 1.544 GB, free: 4.039 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06348/0.7073, allocations: 23.24 MB / 1.566 GB, free: 13.02 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.39/15.1, allocations: 14.77 kB / 1.566 GB, free: 13.01 MB / 1.264 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --stepSize=80 --timeout=800 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 22.059265488991514]