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.001702/0.001702, allocations: 113.5 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.002236/0.002236, allocations: 216.9 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.47/1.47, allocations: 230.6 MB / 256.8 MB, free: 8 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.158/3.158, allocations: 0.5003 GB / 0.8061 GB, free: 26.75 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.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_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.001914/0.001914, allocations: 66.73 kB / 1.171 GB, free: 19.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.3703, allocations: 179 MB / 1.345 GB, free: 0.5039 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.008046/0.3784, allocations: 4.918 MB / 1.35 GB, free: 11.55 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1802/0.5586, allocations: 154.1 MB / 1.501 GB, free: 0.8359 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009461/0.5595, allocations: 19.81 kB / 1.501 GB, free: 0.8164 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0007009/0.5602, allocations: 206.1 kB / 1.501 GB, free: 0.6133 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001988/0.5622, allocations: 0.5636 MB / 1.501 GB, free: 52 kB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002426/0.5647, allocations: 0.8808 MB / 1.502 GB, free: 15.18 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0022/0.5669, allocations: 1.401 MB / 1.504 GB, free: 13.77 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001072/0.5679, allocations: 417.8 kB / 1.504 GB, free: 13.34 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009046/0.5688, allocations: 0.4984 MB / 1.504 GB, free: 12.84 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008428/0.5697, allocations: 0.519 MB / 1.505 GB, free: 12.32 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002945/0.57, allocations: 120 kB / 1.505 GB, free: 12.2 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001184/0.5712, allocations: 0.5152 MB / 1.506 GB, free: 11.68 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003683/0.5715, allocations: 303.1 kB / 1.506 GB, free: 11.39 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0007406/0.5723, allocations: 0.5713 MB / 1.506 GB, free: 10.81 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0024/0.5747, allocations: 1.697 MB / 1.508 GB, free: 9.109 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.5747, allocations: 0 / 1.508 GB, free: 9.109 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5747, allocations: 0 / 1.508 GB, free: 9.109 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.387e-05/0.5747, allocations: 4 kB / 1.508 GB, free: 9.105 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.002686/0.5774, allocations: 1.411 MB / 1.509 GB, free: 7.656 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.5774, allocations: 16.03 kB / 1.51 GB, free: 7.641 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.397e-05/0.5774, allocations: 22.19 kB / 1.51 GB, free: 7.621 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001597/0.5776, allocations: 135.3 kB / 1.51 GB, free: 7.48 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001625/0.5792, allocations: 240 kB / 1.51 GB, free: 7.246 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001295/0.5805, allocations: 0.7179 MB / 1.511 GB, free: 6.504 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.161e-05/0.5806, allocations: 58 kB / 1.511 GB, free: 6.445 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.5807, allocations: 84 kB / 1.511 GB, free: 6.363 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001592/0.5823, allocations: 0.9183 MB / 1.512 GB, free: 5.406 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.5823, allocations: 0 / 1.512 GB, free: 5.406 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.804e-05/0.5824, allocations: 39.98 kB / 1.512 GB, free: 5.367 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.326e-05/0.5824, allocations: 24 kB / 1.512 GB, free: 5.344 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001817/0.5842, allocations: 1.104 MB / 1.513 GB, free: 4.238 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004513/0.5888, allocations: 2.725 MB / 1.515 GB, free: 1.387 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001648/0.5904, allocations: 0.7621 MB / 1.516 GB, free: 0.6172 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005498/0.591, allocations: 282.6 kB / 1.516 GB, free: 344 kB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 7.654e-05/0.591, allocations: 28.61 kB / 1.516 GB, free: 316 kB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009378/0.592, allocations: 0.4956 MB / 1.517 GB, free: 15.79 MB / 1.217 GB Notification: Performance of pre-optimization done (n=79): time 2.896e-06/0.592, allocations: 0 / 1.517 GB, free: 15.79 MB / 1.217 GB Notification: Performance of matching and sorting (n=79): time 0.003202/0.5952, allocations: 1.115 MB / 1.518 GB, free: 14.67 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001306/0.5953, allocations: 196.5 kB / 1.518 GB, free: 14.43 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.5963, allocations: 0.6566 MB / 1.519 GB, free: 13.77 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 8.11e-05/0.5964, allocations: 41.7 kB / 1.519 GB, free: 13.72 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003721/0.5968, allocations: 401.1 kB / 1.519 GB, free: 13.32 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002591/0.597, allocations: 269.6 kB / 1.52 GB, free: 13.06 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000244/0.5973, allocations: 146.6 kB / 1.52 GB, free: 12.91 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001991/0.5975, allocations: 386.8 kB / 1.52 GB, free: 12.52 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005372/0.598, allocations: 249.9 kB / 1.52 GB, free: 12.28 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006428/0.5987, allocations: 354.6 kB / 1.521 GB, free: 11.91 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.5998, allocations: 0.5838 MB / 1.521 GB, free: 11.31 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.5998, allocations: 0 / 1.521 GB, free: 11.31 MB / 1.217 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00201/0.6018, allocations: 0.8062 MB / 1.522 GB, free: 10.49 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.6018, allocations: 4 kB / 1.522 GB, free: 10.49 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.6018, allocations: 7.922 kB / 1.522 GB, free: 10.48 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005956/0.6024, allocations: 84.88 kB / 1.522 GB, free: 10.39 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006141/0.603, allocations: 147.8 kB / 1.522 GB, free: 10.25 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002165/0.6052, allocations: 1.547 MB / 1.524 GB, free: 8.586 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007513/0.6059, allocations: 94.41 kB / 1.524 GB, free: 8.496 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.31e-05/0.606, allocations: 27.98 kB / 1.524 GB, free: 8.469 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: 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.0005137/0.6065, allocations: 277.5 kB / 1.524 GB, free: 8.188 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002416/0.6068, allocations: 83.48 kB / 1.524 GB, free: 8.105 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002515/0.6093, allocations: 1.066 MB / 1.525 GB, free: 7.023 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.6093, allocations: 11.94 kB / 1.525 GB, free: 7.012 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.6093, allocations: 0 / 1.525 GB, free: 7.012 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.6093, allocations: 3.984 kB / 1.525 GB, free: 7.008 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003678/0.613, allocations: 1.943 MB / 1.527 GB, free: 5.012 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.613, allocations: 8 kB / 1.527 GB, free: 5.004 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005736/0.6136, allocations: 139.8 kB / 1.527 GB, free: 4.867 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000436/0.614, allocations: 68.78 kB / 1.527 GB, free: 4.797 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.45e-05/0.6141, allocations: 31.97 kB / 1.527 GB, free: 4.766 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002011/0.6161, allocations: 1.566 MB / 1.529 GB, free: 3.074 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.6161, allocations: 0 / 1.529 GB, free: 3.074 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002206/0.6183, allocations: 1.006 MB / 1.53 GB, free: 2.051 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005043/0.6188, allocations: 211 kB / 1.53 GB, free: 1.844 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001813/0.619, allocations: 23.98 kB / 1.53 GB, free: 1.82 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006948/0.6197, allocations: 55.94 kB / 1.53 GB, free: 1.766 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/0.6198, allocations: 76.86 kB / 1.53 GB, free: 1.688 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.033e-05/0.6199, allocations: 31.97 kB / 1.53 GB, free: 1.656 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0007216/0.6206, allocations: 479 kB / 1.531 GB, free: 1.195 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.6206, allocations: 0 / 1.531 GB, free: 1.195 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001042/0.6217, allocations: 319.2 kB / 1.531 GB, free: 0.8828 MB / 1.217 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.004488/0.6262, allocations: 2.046 MB / 1.533 GB, free: 14.99 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002028/0.6282, allocations: 0.7726 MB / 1.534 GB, free: 14.2 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.6282, allocations: 0 / 1.534 GB, free: 14.2 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001099/0.6293, allocations: 0.4886 MB / 1.534 GB, free: 13.71 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00178/0.6311, allocations: 315.8 kB / 1.535 GB, free: 13.42 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01248/0.6436, allocations: 6.285 MB / 1.541 GB, free: 6.984 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007736/0.6443, allocations: 1.027 MB / 1.542 GB, free: 5.922 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0009104/0.6453, allocations: 266.7 kB / 1.542 GB, free: 5.656 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006285/0.6459, allocations: 383.3 kB / 1.542 GB, free: 5.285 MB / 1.232 GB Notification: Performance of SimCode: time 1.192e-06/0.6459, allocations: 0 / 1.542 GB, free: 5.285 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05984/0.7057, allocations: 22.54 MB / 1.564 GB, free: 14.95 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.48/15.19, allocations: 4.062 kB / 1.564 GB, free: 14.95 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.127559526008554]