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.001599/0.001599, 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.001959/0.001959, allocations: 214.5 kB / 22.25 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.483/1.483, allocations: 230.6 MB / 256 MB, free: 7.797 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.383/3.383, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 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.002061/0.002061, allocations: 68.83 kB / 1.186 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3528, allocations: 181.9 MB / 1.363 GB, free: 14.18 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006685/0.3595, allocations: 4.389 MB / 1.368 GB, free: 9.762 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1733/0.5328, allocations: 132.7 MB / 1.497 GB, free: 4.562 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001316/0.5342, allocations: 19.88 kB / 1.497 GB, free: 4.543 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0009774/0.5351, allocations: 202.2 kB / 1.497 GB, free: 4.344 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002528/0.5377, allocations: 0.5575 MB / 1.498 GB, free: 3.789 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002362/0.54, allocations: 0.8667 MB / 1.499 GB, free: 2.926 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002019/0.542, allocations: 1.401 MB / 1.5 GB, free: 1.52 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000874/0.5429, allocations: 393.8 kB / 1.501 GB, free: 1.109 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008823/0.5438, allocations: 0.5022 MB / 1.501 GB, free: 0.6055 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008433/0.5446, allocations: 469.7 kB / 1.502 GB, free: 148 kB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003262/0.545, allocations: 124 kB / 1.502 GB, free: 24 kB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001268/0.5462, allocations: 495.6 kB / 1.502 GB, free: 15.54 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004286/0.5467, allocations: 307 kB / 1.502 GB, free: 15.24 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0007092/0.5474, allocations: 457.8 kB / 1.503 GB, free: 14.79 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003078/0.5505, allocations: 1.708 MB / 1.504 GB, free: 13.07 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.5505, allocations: 0 / 1.504 GB, free: 13.07 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.394e-06/0.5505, allocations: 0 / 1.504 GB, free: 13.07 MB / 1.201 GB Notification: Performance of Transformations before backend: time 6.116e-05/0.5505, allocations: 3.938 kB / 1.504 GB, free: 13.07 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.00397/0.5545, allocations: 1.411 MB / 1.506 GB, free: 11.62 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.957e-05/0.5546, allocations: 12.03 kB / 1.506 GB, free: 11.61 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002425/0.5548, allocations: 139.4 kB / 1.506 GB, free: 11.47 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001748/0.5565, allocations: 240 kB / 1.506 GB, free: 11.23 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00161/0.5582, allocations: 0.7141 MB / 1.507 GB, free: 10.49 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.615e-05/0.5582, allocations: 65.98 kB / 1.507 GB, free: 10.43 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/0.5584, allocations: 80 kB / 1.507 GB, free: 10.35 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001897/0.5603, allocations: 1.173 MB / 1.508 GB, free: 9.074 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/0.5603, allocations: 3.938 kB / 1.508 GB, free: 9.07 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.67e-05/0.5604, allocations: 36 kB / 1.508 GB, free: 9.035 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.596e-05/0.5604, allocations: 20 kB / 1.508 GB, free: 9.016 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001866/0.5623, allocations: 1.069 MB / 1.509 GB, free: 7.945 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004187/0.5664, allocations: 2.24 MB / 1.512 GB, free: 5.641 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001559/0.568, allocations: 0.7674 MB / 1.512 GB, free: 4.867 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005414/0.5685, allocations: 278.7 kB / 1.513 GB, free: 4.594 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 7.718e-05/0.5686, allocations: 24.64 kB / 1.513 GB, free: 4.57 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009848/0.5696, allocations: 0.5841 MB / 1.513 GB, free: 3.941 MB / 1.201 GB Notification: Performance of pre-optimization done (n=79): time 3.056e-06/0.5696, allocations: 3.938 kB / 1.513 GB, free: 3.938 MB / 1.201 GB Notification: Performance of matching and sorting (n=79): time 0.003238/0.5728, allocations: 1.123 MB / 1.514 GB, free: 2.805 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/0.573, allocations: 188.6 kB / 1.514 GB, free: 2.578 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009186/0.5739, allocations: 0.6528 MB / 1.515 GB, free: 1.914 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 7.311e-05/0.574, allocations: 41.7 kB / 1.515 GB, free: 1.867 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003738/0.5743, allocations: 405 kB / 1.515 GB, free: 1.465 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002402/0.5746, allocations: 265.8 kB / 1.516 GB, free: 1.203 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002324/0.5748, allocations: 154.5 kB / 1.516 GB, free: 1.047 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002024/0.575, allocations: 390.7 kB / 1.516 GB, free: 0.6562 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005152/0.5755, allocations: 245.9 kB / 1.516 GB, free: 424 kB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000717/0.5762, allocations: 487.1 kB / 1.517 GB, free: 15.88 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/0.5774, allocations: 0.5838 MB / 1.518 GB, free: 15.29 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.5774, allocations: 0 / 1.518 GB, free: 15.29 MB / 1.217 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001939/0.5793, allocations: 0.7984 MB / 1.518 GB, free: 14.48 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.5794, allocations: 11.94 kB / 1.518 GB, free: 14.47 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.5794, allocations: 0 / 1.518 GB, free: 14.47 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005927/0.58, allocations: 88.8 kB / 1.518 GB, free: 14.38 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006089/0.5806, allocations: 147.8 kB / 1.519 GB, free: 14.23 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002223/0.5828, allocations: 1.534 MB / 1.52 GB, free: 12.59 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007643/0.5835, allocations: 91.55 kB / 1.52 GB, free: 12.5 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.484e-05/0.5836, allocations: 32.05 kB / 1.52 GB, free: 12.46 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.0005043/0.5841, allocations: 269.6 kB / 1.52 GB, free: 12.19 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001913/0.5843, allocations: 87.44 kB / 1.52 GB, free: 12.11 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002448/0.5868, allocations: 1.066 MB / 1.522 GB, free: 11.03 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/0.5868, allocations: 11.94 kB / 1.522 GB, free: 11.02 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.5868, allocations: 0 / 1.522 GB, free: 11.02 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.5868, allocations: 7.984 kB / 1.522 GB, free: 11.01 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00351/0.5903, allocations: 1.822 MB / 1.523 GB, free: 9.129 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.5903, allocations: 3.938 kB / 1.523 GB, free: 9.125 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005685/0.5909, allocations: 139.8 kB / 1.523 GB, free: 8.988 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004422/0.5913, allocations: 72.78 kB / 1.524 GB, free: 8.914 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.143e-05/0.5914, allocations: 27.97 kB / 1.524 GB, free: 8.887 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002044/0.5934, allocations: 1.555 MB / 1.525 GB, free: 7.211 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.5934, allocations: 0 / 1.525 GB, free: 7.211 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002162/0.5956, allocations: 1.01 MB / 1.526 GB, free: 6.188 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000494/0.5961, allocations: 207 kB / 1.526 GB, free: 5.984 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/0.5962, allocations: 20 kB / 1.526 GB, free: 5.965 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006718/0.5969, allocations: 71.98 kB / 1.526 GB, free: 5.895 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/0.597, allocations: 68.86 kB / 1.526 GB, free: 5.824 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.205e-05/0.5971, allocations: 35.98 kB / 1.526 GB, free: 5.789 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0006595/0.5977, allocations: 475 kB / 1.527 GB, free: 5.332 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5977, allocations: 0 / 1.527 GB, free: 5.332 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0008939/0.5986, allocations: 323.1 kB / 1.527 GB, free: 5.016 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.00458/0.6032, allocations: 2.078 MB / 1.529 GB, free: 3.113 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002174/0.6054, allocations: 0.7726 MB / 1.53 GB, free: 2.328 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.6054, allocations: 0 / 1.53 GB, free: 2.328 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001023/0.6064, allocations: 0.4926 MB / 1.53 GB, free: 1.824 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001458/0.6079, allocations: 316.7 kB / 1.531 GB, free: 1.535 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/0.6189, allocations: 6.279 MB / 1.537 GB, free: 11.1 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005043/0.6195, allocations: 431.8 kB / 1.537 GB, free: 10.65 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0008772/0.6203, allocations: 262.7 kB / 1.538 GB, free: 10.39 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005957/0.6209, allocations: 383.3 kB / 1.538 GB, free: 10.01 MB / 1.232 GB Notification: Performance of SimCode: time 1.183e-06/0.6209, allocations: 0 / 1.538 GB, free: 10.01 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06349/0.6844, allocations: 23.48 MB / 1.561 GB, free: 2.82 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.82/14.51, allocations: 19.23 kB / 1.561 GB, free: 2.805 MB / 1.248 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: 21.639326718635857]