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.001571/0.001571, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001995/0.001995, allocations: 217.6 kB / 23.03 MB, free: 4.922 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.436/1.436, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.117/3.117, allocations: 0.5003 GB / 0.8062 GB, free: 28.28 MB / 0.6231 GB " [Timeout remaining time 177] 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.002/0.002, allocations: 66.38 kB / 1.17 GB, free: 19.58 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.351, allocations: 179 MB / 1.345 GB, free: 15.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.00828/0.3593, allocations: 4.467 MB / 1.35 GB, free: 11.48 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.171/0.5303, allocations: 132.6 MB / 1.479 GB, free: 6.344 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008493/0.5311, allocations: 23.81 kB / 1.479 GB, free: 6.32 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007766/0.5319, allocations: 206.1 kB / 1.479 GB, free: 6.117 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002175/0.5341, allocations: 0.5805 MB / 1.48 GB, free: 5.539 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002302/0.5364, allocations: 0.8762 MB / 1.481 GB, free: 4.668 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002236/0.5386, allocations: 1.44 MB / 1.482 GB, free: 3.219 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009838/0.5396, allocations: 425.8 kB / 1.483 GB, free: 2.781 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009643/0.5406, allocations: 0.5256 MB / 1.483 GB, free: 2.254 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007596/0.5413, allocations: 0.5329 MB / 1.484 GB, free: 1.719 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002166/0.5415, allocations: 124 kB / 1.484 GB, free: 1.598 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/0.5426, allocations: 0.4918 MB / 1.484 GB, free: 1.105 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.000318/0.5429, allocations: 307 kB / 1.485 GB, free: 0.8047 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0005455/0.5435, allocations: 489.6 kB / 1.485 GB, free: 332 kB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002538/0.546, allocations: 1.724 MB / 1.487 GB, free: 14.59 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.546, allocations: 0 / 1.487 GB, free: 14.59 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.833e-06/0.546, allocations: 0 / 1.487 GB, free: 14.59 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.994e-05/0.546, allocations: 0 / 1.487 GB, free: 14.59 MB / 1.186 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.002946/0.549, allocations: 1.46 MB / 1.488 GB, free: 13.09 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.549, allocations: 8.031 kB / 1.488 GB, free: 13.09 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.015e-05/0.549, allocations: 26.19 kB / 1.488 GB, free: 13.06 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001671/0.5492, allocations: 135.5 kB / 1.488 GB, free: 12.92 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001795/0.551, allocations: 252 kB / 1.489 GB, free: 12.68 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001375/0.5524, allocations: 0.7256 MB / 1.489 GB, free: 11.93 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.772e-05/0.5525, allocations: 62 kB / 1.489 GB, free: 11.86 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.5526, allocations: 84 kB / 1.489 GB, free: 11.78 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001897/0.5545, allocations: 1.2 MB / 1.491 GB, free: 10.48 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/0.5545, allocations: 4 kB / 1.491 GB, free: 10.48 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.73e-05/0.5546, allocations: 36 kB / 1.491 GB, free: 10.44 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.137e-05/0.5546, allocations: 20 kB / 1.491 GB, free: 10.42 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001978/0.5566, allocations: 1.128 MB / 1.492 GB, free: 9.293 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004365/0.561, allocations: 2.251 MB / 1.494 GB, free: 6.977 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/0.5626, allocations: 0.7796 MB / 1.495 GB, free: 6.188 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005675/0.5632, allocations: 282.7 kB / 1.495 GB, free: 5.906 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.452e-05/0.5633, allocations: 28.62 kB / 1.495 GB, free: 5.879 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001032/0.5643, allocations: 0.6203 MB / 1.496 GB, free: 5.219 MB / 1.186 GB Notification: Performance of pre-optimization done (n=84): time 3.106e-06/0.5643, allocations: 0 / 1.496 GB, free: 5.219 MB / 1.186 GB Notification: Performance of matching and sorting (n=84): time 0.003507/0.5678, allocations: 1.192 MB / 1.497 GB, free: 4.016 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/0.5679, allocations: 196.9 kB / 1.497 GB, free: 3.781 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009633/0.5689, allocations: 0.6607 MB / 1.498 GB, free: 3.109 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 9.866e-05/0.569, allocations: 41.7 kB / 1.498 GB, free: 3.062 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003921/0.5694, allocations: 413.1 kB / 1.498 GB, free: 2.652 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002693/0.5697, allocations: 289.5 kB / 1.498 GB, free: 2.367 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002611/0.5699, allocations: 154.6 kB / 1.498 GB, free: 2.211 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002047/0.5701, allocations: 386.8 kB / 1.499 GB, free: 1.824 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005397/0.5707, allocations: 257.9 kB / 1.499 GB, free: 1.57 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007258/0.5714, allocations: 499.1 kB / 1.499 GB, free: 1.027 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.5725, allocations: 0.6008 MB / 1.5 GB, free: 428 kB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.5726, allocations: 0 / 1.5 GB, free: 428 kB / 1.186 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002095/0.5746, allocations: 0.8337 MB / 1.501 GB, free: 15.57 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.5747, allocations: 11.75 kB / 1.501 GB, free: 15.56 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.5747, allocations: 0 / 1.501 GB, free: 15.56 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006262/0.5753, allocations: 84.86 kB / 1.501 GB, free: 15.47 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006685/0.576, allocations: 151.8 kB / 1.501 GB, free: 15.32 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00222/0.5782, allocations: 1.526 MB / 1.503 GB, free: 13.68 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000737/0.5789, allocations: 99.39 kB / 1.503 GB, free: 13.59 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.815e-05/0.579, allocations: 27.98 kB / 1.503 GB, free: 13.56 MB / 1.201 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.0004939/0.5795, allocations: 269.4 kB / 1.503 GB, free: 13.29 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001883/0.5797, allocations: 95.44 kB / 1.503 GB, free: 13.19 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002657/0.5823, allocations: 1.148 MB / 1.504 GB, free: 12.03 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/0.5823, allocations: 8 kB / 1.504 GB, free: 12.02 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.5823, allocations: 3.938 kB / 1.504 GB, free: 12.02 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.5824, allocations: 3.984 kB / 1.504 GB, free: 12.02 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003563/0.5859, allocations: 1.876 MB / 1.506 GB, free: 10.09 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.5859, allocations: 0 / 1.506 GB, free: 10.09 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006317/0.5866, allocations: 155.8 kB / 1.506 GB, free: 9.934 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000449/0.587, allocations: 72.78 kB / 1.506 GB, free: 9.859 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.032e-05/0.5871, allocations: 35.91 kB / 1.506 GB, free: 9.824 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002167/0.5892, allocations: 1.543 MB / 1.508 GB, free: 8.16 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.5892, allocations: 0 / 1.508 GB, free: 8.16 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002393/0.5916, allocations: 1.057 MB / 1.509 GB, free: 7.082 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000501/0.5921, allocations: 215 kB / 1.509 GB, free: 6.871 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001419/0.5923, allocations: 27.98 kB / 1.509 GB, free: 6.844 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007177/0.593, allocations: 59.94 kB / 1.509 GB, free: 6.785 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000183/0.5932, allocations: 84.84 kB / 1.509 GB, free: 6.703 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.585e-05/0.5933, allocations: 44.03 kB / 1.509 GB, free: 6.66 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006723/0.5939, allocations: 491 kB / 1.51 GB, free: 6.188 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.5939, allocations: 0 / 1.51 GB, free: 6.188 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001006/0.5949, allocations: 327.2 kB / 1.51 GB, free: 5.867 MB / 1.201 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.004831/0.5998, allocations: 2.147 MB / 1.512 GB, free: 3.898 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001977/0.6018, allocations: 0.804 MB / 1.513 GB, free: 3.086 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 7.754e-06/0.6018, allocations: 4 kB / 1.513 GB, free: 3.082 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.6028, allocations: 0.5118 MB / 1.513 GB, free: 2.559 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001458/0.6043, allocations: 302.5 kB / 1.514 GB, free: 2.281 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/0.616, allocations: 6.469 MB / 1.52 GB, free: 11.65 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005004/0.6165, allocations: 449.3 kB / 1.52 GB, free: 11.18 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009313/0.6175, allocations: 275 kB / 1.521 GB, free: 10.91 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006537/0.6181, allocations: 419.2 kB / 1.521 GB, free: 10.5 MB / 1.217 GB Notification: Performance of SimCode: time 9.31e-07/0.6181, allocations: 0 / 1.521 GB, free: 10.5 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05999/0.6781, allocations: 24 MB / 1.545 GB, free: 2.828 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.77/15.45, allocations: 13.56 kB / 1.545 GB, free: 2.82 MB / 1.232 GB " [Timeout remaining time 284] (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.4540422889404]