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.001713/0.001713, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002043/0.002043, allocations: 220.1 kB / 23.03 MB, free: 4.945 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.234/3.234, allocations: 0.49 GB / 0.7959 GB, free: 35.27 MB / 0.6231 GB " [Timeout remaining time 176] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_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.001971/0.001971, allocations: 63.97 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3442, allocations: 176.1 MB / 1.327 GB, free: 1.531 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.007364/0.3516, allocations: 4.38 MB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1773/0.5289, allocations: 132.6 MB / 1.46 GB, free: 8.031 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001071/0.5299, allocations: 23.81 kB / 1.46 GB, free: 8.008 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0008854/0.5308, allocations: 198.2 kB / 1.461 GB, free: 7.812 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002379/0.5332, allocations: 0.5699 MB / 1.461 GB, free: 7.246 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002603/0.5358, allocations: 0.8558 MB / 1.462 GB, free: 6.395 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002324/0.5381, allocations: 1.409 MB / 1.463 GB, free: 4.98 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001054/0.5392, allocations: 409.8 kB / 1.464 GB, free: 4.555 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001048/0.5402, allocations: 0.5101 MB / 1.464 GB, free: 4.043 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009854/0.5412, allocations: 0.5095 MB / 1.465 GB, free: 3.531 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0004158/0.5416, allocations: 120 kB / 1.465 GB, free: 3.414 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001547/0.5432, allocations: 0.4996 MB / 1.465 GB, free: 2.914 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.000572/0.5437, allocations: 307 kB / 1.466 GB, free: 2.613 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0009188/0.5447, allocations: 461.8 kB / 1.466 GB, free: 2.16 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003189/0.5479, allocations: 1.708 MB / 1.468 GB, free: 456 kB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.5479, allocations: 0 / 1.468 GB, free: 456 kB / 1.154 GB Notification: Performance of FrontEnd: time 2.815e-06/0.5479, allocations: 4 kB / 1.468 GB, free: 452 kB / 1.154 GB Notification: Performance of Transformations before backend: time 5.785e-05/0.5479, allocations: 0 / 1.468 GB, free: 452 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.004016/0.5519, allocations: 1.411 MB / 1.469 GB, free: 15 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.642e-05/0.552, allocations: 12.03 kB / 1.469 GB, free: 14.98 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.436e-05/0.5521, allocations: 26.19 kB / 1.469 GB, free: 14.96 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002611/0.5523, allocations: 131.4 kB / 1.469 GB, free: 14.82 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001863/0.5542, allocations: 240 kB / 1.469 GB, free: 14.59 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001618/0.5558, allocations: 0.7139 MB / 1.47 GB, free: 13.84 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.891e-05/0.5559, allocations: 62 kB / 1.47 GB, free: 13.79 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/0.556, allocations: 83.98 kB / 1.47 GB, free: 13.7 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002082/0.5581, allocations: 1.173 MB / 1.471 GB, free: 12.43 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.468e-05/0.5581, allocations: 0 / 1.471 GB, free: 12.43 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.696e-05/0.5582, allocations: 36 kB / 1.471 GB, free: 12.39 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.63e-05/0.5582, allocations: 23.98 kB / 1.472 GB, free: 12.37 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001996/0.5602, allocations: 1.112 MB / 1.473 GB, free: 11.26 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004842/0.5651, allocations: 2.244 MB / 1.475 GB, free: 8.945 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001738/0.5668, allocations: 0.7711 MB / 1.476 GB, free: 8.164 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005898/0.5674, allocations: 274.7 kB / 1.476 GB, free: 7.895 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.111e-05/0.5675, allocations: 24.64 kB / 1.476 GB, free: 7.871 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001023/0.5685, allocations: 0.5894 MB / 1.476 GB, free: 7.238 MB / 1.17 GB Notification: Performance of pre-optimization done (n=79): time 3.707e-06/0.5685, allocations: 0 / 1.476 GB, free: 7.238 MB / 1.17 GB Notification: Performance of matching and sorting (n=79): time 0.003336/0.5718, allocations: 1.115 MB / 1.477 GB, free: 6.113 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001359/0.572, allocations: 196.6 kB / 1.478 GB, free: 5.879 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/0.573, allocations: 0.6566 MB / 1.478 GB, free: 5.215 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.65e-05/0.5731, allocations: 41.7 kB / 1.478 GB, free: 5.168 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004259/0.5736, allocations: 401 kB / 1.479 GB, free: 4.77 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.000297/0.5739, allocations: 273.7 kB / 1.479 GB, free: 4.5 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002664/0.5741, allocations: 142.6 kB / 1.479 GB, free: 4.355 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002123/0.5743, allocations: 390.7 kB / 1.48 GB, free: 3.965 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005351/0.5749, allocations: 245.9 kB / 1.48 GB, free: 3.723 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007306/0.5756, allocations: 491 kB / 1.48 GB, free: 3.188 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/0.5767, allocations: 0.5838 MB / 1.481 GB, free: 2.594 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.5767, allocations: 0 / 1.481 GB, free: 2.594 MB / 1.17 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002079/0.5788, allocations: 0.7985 MB / 1.482 GB, free: 1.785 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.5788, allocations: 4 kB / 1.482 GB, free: 1.781 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.5789, allocations: 7.875 kB / 1.482 GB, free: 1.773 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006488/0.5795, allocations: 84.86 kB / 1.482 GB, free: 1.688 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006378/0.5801, allocations: 151.7 kB / 1.482 GB, free: 1.539 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002518/0.5827, allocations: 1.539 MB / 1.483 GB, free: 15.88 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007581/0.5834, allocations: 81.83 kB / 1.483 GB, free: 15.8 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-05/0.5835, allocations: 35.91 kB / 1.483 GB, free: 15.77 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: 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.000589/0.5841, allocations: 271 kB / 1.484 GB, free: 15.5 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002943/0.5844, allocations: 87.44 kB / 1.484 GB, free: 15.41 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002598/0.587, allocations: 1.066 MB / 1.485 GB, free: 14.32 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.477e-05/0.587, allocations: 15.94 kB / 1.485 GB, free: 14.31 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.587, allocations: 0 / 1.485 GB, free: 14.31 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.898e-06/0.587, allocations: 7.984 kB / 1.485 GB, free: 14.3 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003766/0.5908, allocations: 1.81 MB / 1.487 GB, free: 12.44 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.5908, allocations: 4 kB / 1.487 GB, free: 12.44 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005898/0.5914, allocations: 143.8 kB / 1.487 GB, free: 12.3 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004552/0.5918, allocations: 72.78 kB / 1.487 GB, free: 12.22 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-05/0.5919, allocations: 27.97 kB / 1.487 GB, free: 12.2 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002154/0.5941, allocations: 1.558 MB / 1.488 GB, free: 10.52 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.5941, allocations: 0 / 1.488 GB, free: 10.52 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002244/0.5963, allocations: 0.9985 MB / 1.489 GB, free: 9.5 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005619/0.5969, allocations: 215.1 kB / 1.49 GB, free: 9.289 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002173/0.5971, allocations: 24 kB / 1.49 GB, free: 9.266 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007405/0.5978, allocations: 59.92 kB / 1.49 GB, free: 9.207 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001817/0.598, allocations: 76.86 kB / 1.49 GB, free: 9.129 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.512e-05/0.5981, allocations: 27.98 kB / 1.49 GB, free: 9.102 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0007594/0.5988, allocations: 479 kB / 1.49 GB, free: 8.637 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5988, allocations: 4 kB / 1.49 GB, free: 8.633 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001035/0.5999, allocations: 319.2 kB / 1.49 GB, free: 8.32 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.004686/0.6046, allocations: 2.096 MB / 1.493 GB, free: 6.41 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001925/0.6065, allocations: 0.7611 MB / 1.493 GB, free: 5.633 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/0.6065, allocations: 11.98 kB / 1.493 GB, free: 5.621 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.6075, allocations: 496.2 kB / 1.494 GB, free: 5.129 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/0.6091, allocations: 306.6 kB / 1.494 GB, free: 4.852 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01276/0.6218, allocations: 6.285 MB / 1.5 GB, free: 14.41 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005536/0.6224, allocations: 431.8 kB / 1.501 GB, free: 13.96 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0009327/0.6233, allocations: 270.6 kB / 1.501 GB, free: 13.69 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006677/0.624, allocations: 375.3 kB / 1.501 GB, free: 13.32 MB / 1.201 GB Notification: Performance of SimCode: time 9.62e-07/0.624, allocations: 0 / 1.501 GB, free: 13.32 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06327/0.6873, allocations: 23.28 MB / 1.524 GB, free: 6.395 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.43/15.12, allocations: 12 kB / 1.524 GB, free: 6.383 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --stepSize=80 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 22.127797930967063]