Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001866/0.001866, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002517/0.002517, allocations: 218.5 kB / 22.26 MB, free: 5.121 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.545/1.545, allocations: 230.6 MB / 256 MB, free: 7.98 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.268/3.268, allocations: 0.505 GB / 0.8101 GB, free: 22.04 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.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_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.001997/0.001997, allocations: 71.61 kB / 1.177 GB, free: 17.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3469, allocations: 180.2 MB / 1.353 GB, free: 8.457 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.007403/0.3543, allocations: 4.905 MB / 1.358 GB, free: 3.531 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1817/0.5361, allocations: 154.1 MB / 1.508 GB, free: 8.812 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009253/0.537, allocations: 23.81 kB / 1.508 GB, free: 8.789 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0007138/0.5377, allocations: 198.2 kB / 1.508 GB, free: 8.594 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.001935/0.5396, allocations: 0.5681 MB / 1.509 GB, free: 8.027 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002262/0.5419, allocations: 0.88 MB / 1.51 GB, free: 7.152 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001913/0.5438, allocations: 1.401 MB / 1.511 GB, free: 5.742 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000826/0.5446, allocations: 422.9 kB / 1.512 GB, free: 5.305 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007705/0.5454, allocations: 0.5022 MB / 1.512 GB, free: 4.801 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007197/0.5461, allocations: 0.5149 MB / 1.513 GB, free: 4.285 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001853/0.5463, allocations: 123.9 kB / 1.513 GB, free: 4.164 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001111/0.5474, allocations: 0.5035 MB / 1.513 GB, free: 3.66 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003163/0.5477, allocations: 303.1 kB / 1.513 GB, free: 3.363 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0006027/0.5483, allocations: 0.5713 MB / 1.514 GB, free: 2.789 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002464/0.5508, allocations: 1.697 MB / 1.516 GB, free: 1.086 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.5508, allocations: 0 / 1.516 GB, free: 1.086 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5508, allocations: 4 kB / 1.516 GB, free: 1.082 MB / 1.201 GB Notification: Performance of Transformations before backend: time 3.362e-05/0.5508, allocations: 0 / 1.516 GB, free: 1.082 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002899/0.5537, allocations: 1.415 MB / 1.517 GB, free: 15.64 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.5538, allocations: 12.03 kB / 1.517 GB, free: 15.62 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001646/0.5539, allocations: 131.4 kB / 1.517 GB, free: 15.49 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001596/0.5555, allocations: 244 kB / 1.517 GB, free: 15.25 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/0.5569, allocations: 0.718 MB / 1.518 GB, free: 14.51 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.617e-05/0.557, allocations: 61.94 kB / 1.518 GB, free: 14.45 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.5571, allocations: 80 kB / 1.518 GB, free: 14.37 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/0.5587, allocations: 0.9184 MB / 1.519 GB, free: 13.41 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.5588, allocations: 0 / 1.519 GB, free: 13.41 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.324e-05/0.5588, allocations: 40 kB / 1.519 GB, free: 13.37 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.116e-05/0.5589, allocations: 20 kB / 1.519 GB, free: 13.35 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001849/0.5607, allocations: 1.112 MB / 1.52 GB, free: 12.23 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004836/0.5655, allocations: 2.725 MB / 1.523 GB, free: 9.383 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001602/0.5671, allocations: 0.7697 MB / 1.524 GB, free: 8.602 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005428/0.5677, allocations: 286.6 kB / 1.524 GB, free: 8.316 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 8.233e-05/0.5678, allocations: 32.58 kB / 1.524 GB, free: 8.285 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009085/0.5687, allocations: 0.4906 MB / 1.524 GB, free: 7.777 MB / 1.217 GB Notification: Performance of pre-optimization done (n=79): time 2.735e-06/0.5687, allocations: 0 / 1.524 GB, free: 7.777 MB / 1.217 GB Notification: Performance of matching and sorting (n=79): time 0.003241/0.5719, allocations: 1.115 MB / 1.526 GB, free: 6.656 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001352/0.5721, allocations: 196.6 kB / 1.526 GB, free: 6.422 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009569/0.573, allocations: 0.6527 MB / 1.526 GB, free: 5.762 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.000106/0.5731, allocations: 41.7 kB / 1.526 GB, free: 5.715 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003677/0.5735, allocations: 401.1 kB / 1.527 GB, free: 5.316 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002663/0.5738, allocations: 269.7 kB / 1.527 GB, free: 5.051 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002297/0.574, allocations: 150.6 kB / 1.527 GB, free: 4.895 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002102/0.5742, allocations: 390.7 kB / 1.528 GB, free: 4.504 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005054/0.5747, allocations: 241.9 kB / 1.528 GB, free: 4.27 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006337/0.5753, allocations: 362.5 kB / 1.528 GB, free: 3.891 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.5764, allocations: 0.5838 MB / 1.529 GB, free: 3.293 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.5765, allocations: 0 / 1.529 GB, free: 3.293 MB / 1.217 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002014/0.5785, allocations: 0.7985 MB / 1.53 GB, free: 2.488 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.5785, allocations: 8.094 kB / 1.53 GB, free: 2.48 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.5785, allocations: 0 / 1.53 GB, free: 2.48 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006914/0.5792, allocations: 92.64 kB / 1.53 GB, free: 2.387 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000684/0.5799, allocations: 147.8 kB / 1.53 GB, free: 2.242 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002722/0.5826, allocations: 1.547 MB / 1.531 GB, free: 0.5742 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009416/0.5835, allocations: 79.72 kB / 1.531 GB, free: 0.4961 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.437e-05/0.5836, allocations: 35.97 kB / 1.531 GB, free: 472 kB / 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: 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.0006595/0.5843, allocations: 281.4 kB / 1.532 GB, free: 180 kB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000222/0.5845, allocations: 87.48 kB / 1.532 GB, free: 92 kB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002524/0.587, allocations: 1.058 MB / 1.533 GB, free: 15.01 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.587, allocations: 15.94 kB / 1.533 GB, free: 14.99 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.587, allocations: 0 / 1.533 GB, free: 14.99 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.587, allocations: 3.984 kB / 1.533 GB, free: 14.99 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003465/0.5905, allocations: 1.943 MB / 1.535 GB, free: 13 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.5905, allocations: 0 / 1.535 GB, free: 13 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005533/0.5911, allocations: 147.7 kB / 1.535 GB, free: 12.85 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004481/0.5915, allocations: 72.78 kB / 1.535 GB, free: 12.78 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.926e-05/0.5916, allocations: 23.98 kB / 1.535 GB, free: 12.75 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002/0.5936, allocations: 1.578 MB / 1.536 GB, free: 11.05 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.5936, allocations: 0 / 1.536 GB, free: 11.05 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002067/0.5956, allocations: 0.9985 MB / 1.537 GB, free: 10.04 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000484/0.5961, allocations: 211 kB / 1.538 GB, free: 9.828 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/0.5963, allocations: 16 kB / 1.538 GB, free: 9.812 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006353/0.5969, allocations: 66.17 kB / 1.538 GB, free: 9.75 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001591/0.597, allocations: 80.86 kB / 1.538 GB, free: 9.672 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.591e-05/0.5971, allocations: 27.98 kB / 1.538 GB, free: 9.645 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0006548/0.5978, allocations: 483 kB / 1.538 GB, free: 9.18 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5978, allocations: 0 / 1.538 GB, free: 9.18 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0009183/0.5987, allocations: 315.2 kB / 1.539 GB, free: 8.871 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: 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.004251/0.6029, allocations: 2.049 MB / 1.541 GB, free: 6.977 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001763/0.6047, allocations: 0.7648 MB / 1.541 GB, free: 6.195 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.6047, allocations: 4 kB / 1.541 GB, free: 6.191 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0009426/0.6056, allocations: 496.4 kB / 1.542 GB, free: 5.695 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/0.607, allocations: 303.9 kB / 1.542 GB, free: 5.418 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01107/0.618, allocations: 6.292 MB / 1.548 GB, free: 14.98 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006923/0.6187, allocations: 1.016 MB / 1.549 GB, free: 13.93 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0008523/0.6196, allocations: 270.6 kB / 1.549 GB, free: 13.66 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005754/0.6201, allocations: 383.3 kB / 1.55 GB, free: 13.29 MB / 1.248 GB Notification: Performance of SimCode: time 8.82e-07/0.6201, allocations: 7.938 kB / 1.55 GB, free: 13.28 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07109/0.6912, allocations: 22.5 MB / 1.572 GB, free: 6.977 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.37/15.06, allocations: 10.73 kB / 1.572 GB, free: 6.969 MB / 1.264 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --stepSize=80 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.08711557695642]