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.00168/0.00168, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002245/0.002245, allocations: 214.8 kB / 22.24 MB, free: 4.855 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.426/1.426, allocations: 230.6 MB / 256 MB, free: 7.961 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.045/3.045, allocations: 0.4892 GB / 0.7943 GB, free: 35.65 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.Examples.ZenithAngle,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_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.002026/0.002026, allocations: 71.03 kB / 1.153 GB, free: 25.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3279, allocations: 176.1 MB / 1.325 GB, free: 2.387 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006855/0.3348, allocations: 4.38 MB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1651/0.4999, allocations: 132.7 MB / 1.459 GB, free: 8.785 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000797/0.5007, allocations: 23.81 kB / 1.459 GB, free: 8.762 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0005794/0.5013, allocations: 202.2 kB / 1.459 GB, free: 8.562 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001771/0.5031, allocations: 0.5475 MB / 1.46 GB, free: 8.016 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002038/0.5051, allocations: 0.8703 MB / 1.46 GB, free: 7.152 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0017/0.5068, allocations: 1.401 MB / 1.462 GB, free: 5.746 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007269/0.5075, allocations: 401.7 kB / 1.462 GB, free: 5.328 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007415/0.5083, allocations: 0.5023 MB / 1.463 GB, free: 4.824 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006383/0.5089, allocations: 465.7 kB / 1.463 GB, free: 4.367 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001732/0.5091, allocations: 123.9 kB / 1.463 GB, free: 4.246 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001092/0.5102, allocations: 499.6 kB / 1.464 GB, free: 3.758 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003041/0.5105, allocations: 295.1 kB / 1.464 GB, free: 3.469 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004848/0.511, allocations: 469.7 kB / 1.465 GB, free: 3.008 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002368/0.5133, allocations: 1.708 MB / 1.466 GB, free: 1.293 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.974e-06/0.5133, allocations: 4 kB / 1.466 GB, free: 1.289 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5133, allocations: 4 kB / 1.466 GB, free: 1.285 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.735e-05/0.5134, allocations: 0 / 1.466 GB, free: 1.285 MB / 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.002651/0.516, allocations: 1.411 MB / 1.468 GB, free: 15.84 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.516, allocations: 8.031 kB / 1.468 GB, free: 15.83 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001632/0.5162, allocations: 131.4 kB / 1.468 GB, free: 15.69 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001592/0.5178, allocations: 252 kB / 1.468 GB, free: 15.45 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/0.5192, allocations: 0.7063 MB / 1.469 GB, free: 14.71 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.917e-05/0.5192, allocations: 62 kB / 1.469 GB, free: 14.65 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/0.5194, allocations: 80 kB / 1.469 GB, free: 14.57 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/0.5211, allocations: 1.169 MB / 1.47 GB, free: 13.3 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.5211, allocations: 4 kB / 1.47 GB, free: 13.3 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.044e-05/0.5212, allocations: 39.94 kB / 1.47 GB, free: 13.26 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.099e-05/0.5212, allocations: 24 kB / 1.47 GB, free: 13.24 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001793/0.523, allocations: 1.065 MB / 1.471 GB, free: 12.17 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003971/0.527, allocations: 2.244 MB / 1.473 GB, free: 9.859 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/0.5286, allocations: 0.7661 MB / 1.474 GB, free: 9.082 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005325/0.5291, allocations: 278.7 kB / 1.474 GB, free: 8.809 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.024e-05/0.5292, allocations: 24.56 kB / 1.474 GB, free: 8.785 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009458/0.5301, allocations: 0.5855 MB / 1.475 GB, free: 8.156 MB / 1.17 GB Notification: Performance of pre-optimization done (n=79): time 2.474e-06/0.5301, allocations: 4 kB / 1.475 GB, free: 8.152 MB / 1.17 GB Notification: Performance of matching and sorting (n=79): time 0.003122/0.5332, allocations: 1.119 MB / 1.476 GB, free: 7.023 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/0.5333, allocations: 192.6 kB / 1.476 GB, free: 6.793 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008689/0.5342, allocations: 0.6566 MB / 1.477 GB, free: 6.129 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 6.804e-05/0.5343, allocations: 45.69 kB / 1.477 GB, free: 6.078 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003504/0.5346, allocations: 397.1 kB / 1.477 GB, free: 5.684 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002392/0.5349, allocations: 269.7 kB / 1.477 GB, free: 5.418 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002409/0.5351, allocations: 146.6 kB / 1.478 GB, free: 5.27 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002025/0.5353, allocations: 390.7 kB / 1.478 GB, free: 4.879 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00051/0.5358, allocations: 245.9 kB / 1.478 GB, free: 4.637 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007029/0.5365, allocations: 487 kB / 1.479 GB, free: 4.105 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.5376, allocations: 0.58 MB / 1.479 GB, free: 3.516 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.5376, allocations: 0 / 1.479 GB, free: 3.516 MB / 1.17 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001925/0.5396, allocations: 0.8062 MB / 1.48 GB, free: 2.695 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.5396, allocations: 6.188 kB / 1.48 GB, free: 2.691 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.5396, allocations: 0 / 1.48 GB, free: 2.691 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000593/0.5402, allocations: 92.8 kB / 1.48 GB, free: 2.598 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006082/0.5408, allocations: 151.8 kB / 1.48 GB, free: 2.449 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002154/0.5429, allocations: 1.537 MB / 1.482 GB, free: 0.7969 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006377/0.5436, allocations: 83.75 kB / 1.482 GB, free: 0.7148 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.376e-05/0.5436, allocations: 35.97 kB / 1.482 GB, free: 0.6797 MB / 1.17 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.0004482/0.5441, allocations: 269.6 kB / 1.482 GB, free: 416 kB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/0.5443, allocations: 91.38 kB / 1.482 GB, free: 324 kB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002387/0.5466, allocations: 1.062 MB / 1.483 GB, free: 15.24 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/0.5467, allocations: 11.94 kB / 1.483 GB, free: 15.23 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.5467, allocations: 0 / 1.483 GB, free: 15.23 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.5467, allocations: 7.922 kB / 1.483 GB, free: 15.22 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003329/0.55, allocations: 1.814 MB / 1.485 GB, free: 13.36 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.55, allocations: 0 / 1.485 GB, free: 13.36 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005546/0.5506, allocations: 143.8 kB / 1.485 GB, free: 13.21 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004424/0.551, allocations: 76.78 kB / 1.485 GB, free: 13.14 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-05/0.5511, allocations: 19.98 kB / 1.485 GB, free: 13.12 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002008/0.5531, allocations: 1.57 MB / 1.487 GB, free: 11.43 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-06/0.5531, allocations: 8.094 kB / 1.487 GB, free: 11.42 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002092/0.5552, allocations: 0.9945 MB / 1.488 GB, free: 10.41 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004649/0.5556, allocations: 215 kB / 1.488 GB, free: 10.2 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.5557, allocations: 20 kB / 1.488 GB, free: 10.18 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006257/0.5564, allocations: 55.94 kB / 1.488 GB, free: 10.12 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/0.5565, allocations: 72.86 kB / 1.488 GB, free: 10.05 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.365e-05/0.5566, allocations: 39.97 kB / 1.488 GB, free: 10.01 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006383/0.5572, allocations: 471 kB / 1.489 GB, free: 9.555 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5572, allocations: 0 / 1.489 GB, free: 9.555 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0008884/0.5581, allocations: 323.2 kB / 1.489 GB, free: 9.238 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.004284/0.5624, allocations: 2.091 MB / 1.491 GB, free: 7.328 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001673/0.5641, allocations: 0.7687 MB / 1.492 GB, free: 6.547 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5641, allocations: 8.188 kB / 1.492 GB, free: 6.539 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009274/0.565, allocations: 0.4884 MB / 1.492 GB, free: 6.043 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/0.5662, allocations: 310.9 kB / 1.492 GB, free: 5.758 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01172/0.578, allocations: 6.27 MB / 1.499 GB, free: 15.33 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005565/0.5785, allocations: 437.3 kB / 1.499 GB, free: 14.88 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.00091/0.5794, allocations: 274.6 kB / 1.499 GB, free: 14.6 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006107/0.58, allocations: 375.3 kB / 1.5 GB, free: 14.23 MB / 1.201 GB Notification: Performance of SimCode: time 8.41e-07/0.58, allocations: 0 / 1.5 GB, free: 14.23 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06636/0.6464, allocations: 23.5 MB / 1.523 GB, free: 7.031 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.6/14.25, allocations: 20.86 kB / 1.523 GB, free: 7.016 MB / 1.217 GB " [Timeout remaining time 286] (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: 20.917144746985286]