Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.001807/0.001807, allocations: 103 kB / 16.45 MB, free: 6.449 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.001594/0.001594, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.436/1.436, allocations: 230.6 MB / 252.8 MB, free: 9.121 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.14/3.14, allocations: 0.49 GB / 0.7916 GB, free: 33.35 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.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",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.002017/0.002017, allocations: 74.39 kB / 1.149 GB, free: 26.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3334, allocations: 176.1 MB / 1.321 GB, free: 3.379 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.008553/0.3419, allocations: 5.227 MB / 1.326 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1952/0.5371, allocations: 154.1 MB / 1.476 GB, free: 3.422 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001274/0.5384, allocations: 27.81 kB / 1.476 GB, free: 3.395 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006998/0.5391, allocations: 194.1 kB / 1.477 GB, free: 3.203 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002005/0.5411, allocations: 0.5897 MB / 1.477 GB, free: 2.613 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002259/0.5434, allocations: 0.8889 MB / 1.478 GB, free: 1.73 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001884/0.5452, allocations: 1.475 MB / 1.479 GB, free: 256 kB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008404/0.5461, allocations: 472.1 kB / 1.48 GB, free: 15.77 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008196/0.5469, allocations: 0.5528 MB / 1.48 GB, free: 15.21 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000722/0.5476, allocations: 0.5523 MB / 1.481 GB, free: 14.66 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001817/0.5478, allocations: 128 kB / 1.481 GB, free: 14.53 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001085/0.5489, allocations: 0.5425 MB / 1.482 GB, free: 13.99 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003095/0.5492, allocations: 323 kB / 1.482 GB, free: 13.67 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0006018/0.5498, allocations: 0.6063 MB / 1.483 GB, free: 13.06 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002358/0.5522, allocations: 1.813 MB / 1.484 GB, free: 11.24 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.5522, allocations: 4 kB / 1.484 GB, free: 11.24 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.213e-06/0.5522, allocations: 0 / 1.484 GB, free: 11.24 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.84e-05/0.5522, allocations: 0 / 1.484 GB, free: 11.24 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.003078/0.5553, allocations: 1.576 MB / 1.486 GB, free: 9.609 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.599e-05/0.5553, allocations: 15.97 kB / 1.486 GB, free: 9.594 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002186/0.5555, allocations: 148.2 kB / 1.486 GB, free: 9.441 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001906/0.5574, allocations: 271.9 kB / 1.486 GB, free: 9.176 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/0.5587, allocations: 0.8096 MB / 1.487 GB, free: 8.324 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.444e-05/0.5588, allocations: 74 kB / 1.487 GB, free: 8.25 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.5589, allocations: 88 kB / 1.487 GB, free: 8.164 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001861/0.5608, allocations: 1.012 MB / 1.488 GB, free: 7.113 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.5608, allocations: 7.938 kB / 1.488 GB, free: 7.105 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/0.5609, allocations: 40 kB / 1.488 GB, free: 7.066 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.46e-05/0.561, allocations: 24 kB / 1.488 GB, free: 7.043 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002084/0.563, allocations: 1.179 MB / 1.489 GB, free: 5.859 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004707/0.5677, allocations: 3.051 MB / 1.492 GB, free: 2.656 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001801/0.5695, allocations: 0.8599 MB / 1.493 GB, free: 1.77 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000614/0.5702, allocations: 294.7 kB / 1.494 GB, free: 1.48 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006944/0.5709, allocations: 474.1 kB / 1.494 GB, free: 0.9258 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000973/0.5718, allocations: 0.4952 MB / 1.494 GB, free: 420 kB / 1.186 GB Notification: Performance of pre-optimization done (n=82): time 2.144e-06/0.5718, allocations: 0 / 1.494 GB, free: 420 kB / 1.186 GB Notification: Performance of matching and sorting (n=82): time 0.003581/0.5754, allocations: 1.246 MB / 1.496 GB, free: 15.14 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/0.5755, allocations: 192.6 kB / 1.496 GB, free: 14.91 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009405/0.5765, allocations: 0.6607 MB / 1.497 GB, free: 14.24 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 8.504e-05/0.5766, allocations: 41.7 kB / 1.497 GB, free: 14.19 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004022/0.577, allocations: 452.9 kB / 1.497 GB, free: 13.74 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002511/0.5772, allocations: 277.6 kB / 1.497 GB, free: 13.47 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002511/0.5775, allocations: 146.6 kB / 1.497 GB, free: 13.32 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002093/0.5777, allocations: 390.7 kB / 1.498 GB, free: 12.93 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005977/0.5783, allocations: 257.9 kB / 1.498 GB, free: 12.68 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000725/0.579, allocations: 366.5 kB / 1.498 GB, free: 12.29 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001278/0.5803, allocations: 0.6111 MB / 1.499 GB, free: 11.67 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.5803, allocations: 0 / 1.499 GB, free: 11.67 MB / 1.201 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002172/0.5824, allocations: 0.8373 MB / 1.5 GB, free: 10.82 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.5825, allocations: 4 kB / 1.5 GB, free: 10.82 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.5825, allocations: 0 / 1.5 GB, free: 10.82 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006333/0.5831, allocations: 88.84 kB / 1.5 GB, free: 10.73 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007033/0.5838, allocations: 159.8 kB / 1.5 GB, free: 10.57 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002391/0.5862, allocations: 1.634 MB / 1.502 GB, free: 8.793 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000786/0.587, allocations: 95.53 kB / 1.502 GB, free: 8.699 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-05/0.5871, allocations: 35.97 kB / 1.502 GB, free: 8.664 MB / 1.201 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 (88): * Single equations (assignments): 87 * 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.0005217/0.5876, allocations: 269.8 kB / 1.502 GB, free: 8.391 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002003/0.5878, allocations: 95.36 kB / 1.502 GB, free: 8.297 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002676/0.5905, allocations: 1.097 MB / 1.503 GB, free: 7.184 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/0.5905, allocations: 12 kB / 1.503 GB, free: 7.172 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.5905, allocations: 0 / 1.503 GB, free: 7.172 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.5905, allocations: 3.984 kB / 1.503 GB, free: 7.168 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003753/0.5943, allocations: 2.033 MB / 1.505 GB, free: 5.07 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.5943, allocations: 4 kB / 1.505 GB, free: 5.066 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006569/0.5949, allocations: 143.8 kB / 1.505 GB, free: 4.926 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004788/0.5954, allocations: 76.78 kB / 1.505 GB, free: 4.848 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-05/0.5955, allocations: 31.97 kB / 1.505 GB, free: 4.816 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002257/0.5977, allocations: 1.658 MB / 1.507 GB, free: 3.012 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5977, allocations: 0 / 1.507 GB, free: 3.012 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002434/0.6002, allocations: 1.03 MB / 1.508 GB, free: 1.965 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004804/0.6006, allocations: 284.1 kB / 1.508 GB, free: 1.668 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/0.6008, allocations: 20 kB / 1.508 GB, free: 1.648 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007156/0.6015, allocations: 69.8 kB / 1.508 GB, free: 1.582 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001668/0.6016, allocations: 76.78 kB / 1.508 GB, free: 1.508 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.122e-05/0.6017, allocations: 39.97 kB / 1.509 GB, free: 1.469 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007298/0.6025, allocations: 487 kB / 1.509 GB, free: 1 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.6025, allocations: 0 / 1.509 GB, free: 1 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001042/0.6035, allocations: 351.1 kB / 1.509 GB, free: 0.6562 MB / 1.201 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 (93): * Single equations (assignments): 87 * 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.004731/0.6082, allocations: 2.098 MB / 1.511 GB, free: 14.71 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001993/0.6102, allocations: 0.8001 MB / 1.512 GB, free: 13.9 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.6102, allocations: 0 / 1.512 GB, free: 13.9 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001079/0.6113, allocations: 0.5002 MB / 1.513 GB, free: 13.39 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001488/0.6128, allocations: 307.6 kB / 1.513 GB, free: 13.11 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01221/0.625, allocations: 6.515 MB / 1.519 GB, free: 6.438 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007674/0.6258, allocations: 1.049 MB / 1.52 GB, free: 5.359 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009859/0.6268, allocations: 267 kB / 1.521 GB, free: 5.094 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006954/0.6275, allocations: 415.3 kB / 1.521 GB, free: 4.688 MB / 1.217 GB Notification: Performance of SimCode: time 1.062e-06/0.6275, allocations: 0 / 1.521 GB, free: 4.688 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06369/0.6912, allocations: 22.86 MB / 1.543 GB, free: 14.13 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.34/14.04, allocations: 10.41 kB / 1.543 GB, free: 14.12 MB / 1.248 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --stepSize=1160 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.820302431937307]