Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 109 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.284/3.284, allocations: 497.2 MB / 0.7811 GB, free: 33.67 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 62.39 kB / 1.134 GB, free: 33.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.4015, allocations: 173.9 MB / 1.304 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.008329/0.4098, allocations: 5.186 MB / 1.309 GB, free: 12.31 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.2061/0.616, allocations: 151.1 MB / 1.457 GB, free: 4.598 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001231/0.6172, allocations: 19.88 kB / 1.457 GB, free: 4.578 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0009892/0.6182, allocations: 202.1 kB / 1.457 GB, free: 4.379 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002603/0.6208, allocations: 0.567 MB / 1.457 GB, free: 3.812 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002655/0.6234, allocations: 0.8632 MB / 1.458 GB, free: 2.953 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002448/0.6259, allocations: 1.452 MB / 1.46 GB, free: 1.496 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001025/0.6269, allocations: 489.5 kB / 1.46 GB, free: 0.9883 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009301/0.6278, allocations: 0.5217 MB / 1.461 GB, free: 476 kB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007755/0.6286, allocations: 0.5601 MB / 1.461 GB, free: 15.9 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.00019/0.6288, allocations: 124 kB / 1.461 GB, free: 15.78 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001086/0.6299, allocations: 499.6 kB / 1.462 GB, free: 15.29 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003492/0.6302, allocations: 322.9 kB / 1.462 GB, free: 14.98 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0006993/0.6309, allocations: 0.6141 MB / 1.463 GB, free: 14.36 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002467/0.6334, allocations: 1.763 MB / 1.464 GB, free: 12.59 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.6334, allocations: 0 / 1.464 GB, free: 12.59 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.914e-06/0.6334, allocations: 0 / 1.464 GB, free: 12.59 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.356e-05/0.6334, allocations: 0 / 1.464 GB, free: 12.59 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003083/0.6365, allocations: 1.549 MB / 1.466 GB, free: 10.98 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.6366, allocations: 12.62 kB / 1.466 GB, free: 10.97 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002074/0.6368, allocations: 156.2 kB / 1.466 GB, free: 10.81 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001704/0.6385, allocations: 315.9 kB / 1.466 GB, free: 10.5 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001472/0.6399, allocations: 0.7854 MB / 1.467 GB, free: 9.676 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.383e-05/0.64, allocations: 74 kB / 1.467 GB, free: 9.605 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.6402, allocations: 88 kB / 1.467 GB, free: 9.52 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00211/0.6423, allocations: 1.081 MB / 1.468 GB, free: 8.398 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.6423, allocations: 0 / 1.468 GB, free: 8.398 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/0.6424, allocations: 44 kB / 1.468 GB, free: 8.355 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.191e-05/0.6424, allocations: 24 kB / 1.468 GB, free: 8.332 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002611/0.645, allocations: 1.268 MB / 1.47 GB, free: 7.062 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005479/0.6505, allocations: 3.063 MB / 1.473 GB, free: 3.844 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002756/0.6533, allocations: 0.9829 MB / 1.474 GB, free: 2.84 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008053/0.6541, allocations: 334.6 kB / 1.474 GB, free: 2.512 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.409e-05/0.6542, allocations: 34.47 kB / 1.474 GB, free: 2.48 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001255/0.6554, allocations: 0.5575 MB / 1.474 GB, free: 1.91 MB / 1.17 GB Notification: Performance of pre-optimization done (n=84): time 2.314e-06/0.6554, allocations: 0 / 1.474 GB, free: 1.91 MB / 1.17 GB Notification: Performance of matching and sorting (n=84): time 0.004131/0.6595, allocations: 1.392 MB / 1.476 GB, free: 0.4922 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001407/0.6597, allocations: 192.9 kB / 1.476 GB, free: 264 kB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009787/0.6607, allocations: 0.641 MB / 1.477 GB, free: 15.61 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 7.822e-05/0.6607, allocations: 41.7 kB / 1.477 GB, free: 15.57 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004159/0.6612, allocations: 433 kB / 1.477 GB, free: 15.14 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.000287/0.6614, allocations: 289.6 kB / 1.477 GB, free: 14.85 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002683/0.6617, allocations: 150.6 kB / 1.478 GB, free: 14.7 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002251/0.6619, allocations: 382.8 kB / 1.478 GB, free: 14.32 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008545/0.6628, allocations: 309.8 kB / 1.478 GB, free: 14.02 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008927/0.6637, allocations: 418.5 kB / 1.479 GB, free: 13.58 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001648/0.6653, allocations: 0.6906 MB / 1.479 GB, free: 12.88 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.6653, allocations: 3.938 kB / 1.479 GB, free: 12.88 MB / 1.186 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002568/0.6679, allocations: 0.9233 MB / 1.48 GB, free: 11.94 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.6679, allocations: 4 kB / 1.48 GB, free: 11.93 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.6679, allocations: 7.984 kB / 1.48 GB, free: 11.93 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006227/0.6686, allocations: 76.88 kB / 1.48 GB, free: 11.85 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008364/0.6694, allocations: 183.7 kB / 1.48 GB, free: 11.67 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002401/0.6718, allocations: 1.638 MB / 1.482 GB, free: 9.887 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008783/0.6727, allocations: 107.5 kB / 1.482 GB, free: 9.781 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.044e-05/0.6727, allocations: 31.97 kB / 1.482 GB, free: 9.75 MB / 1.186 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 (90): * Single equations (assignments): 89 * 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.0005065/0.6732, allocations: 273.9 kB / 1.482 GB, free: 9.473 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001986/0.6734, allocations: 87.44 kB / 1.483 GB, free: 9.387 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003089/0.6765, allocations: 1.202 MB / 1.484 GB, free: 8.164 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/0.6765, allocations: 8 kB / 1.484 GB, free: 8.156 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.6765, allocations: 0 / 1.484 GB, free: 8.156 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.546e-05/0.6766, allocations: 11.97 kB / 1.484 GB, free: 8.145 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004261/0.6808, allocations: 2.137 MB / 1.486 GB, free: 5.949 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.6808, allocations: 0 / 1.486 GB, free: 5.949 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007878/0.6816, allocations: 183.7 kB / 1.486 GB, free: 5.77 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000449/0.6821, allocations: 72.8 kB / 1.486 GB, free: 5.695 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.107e-05/0.6821, allocations: 27.97 kB / 1.486 GB, free: 5.668 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002135/0.6843, allocations: 1.659 MB / 1.488 GB, free: 3.867 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.6843, allocations: 3.984 kB / 1.488 GB, free: 3.863 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002724/0.687, allocations: 1.119 MB / 1.489 GB, free: 2.723 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005096/0.6875, allocations: 288.1 kB / 1.489 GB, free: 2.422 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/0.6876, allocations: 16 kB / 1.489 GB, free: 2.406 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007872/0.6884, allocations: 90.44 kB / 1.489 GB, free: 2.32 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001686/0.6886, allocations: 72.84 kB / 1.489 GB, free: 2.25 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.098e-05/0.6887, allocations: 39.97 kB / 1.489 GB, free: 2.211 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006716/0.6894, allocations: 467 kB / 1.49 GB, free: 1.758 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/0.6894, allocations: 4 kB / 1.49 GB, free: 1.754 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001024/0.6904, allocations: 347 kB / 1.49 GB, free: 1.414 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 (97): * Single equations (assignments): 91 * 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.004905/0.6953, allocations: 2.172 MB / 1.492 GB, free: 15.41 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002326/0.6976, allocations: 0.8977 MB / 1.493 GB, free: 14.5 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.6976, allocations: 0 / 1.493 GB, free: 14.5 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001246/0.6989, allocations: 0.5586 MB / 1.494 GB, free: 13.93 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/0.7002, allocations: 302.6 kB / 1.494 GB, free: 13.65 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01358/0.7138, allocations: 6.759 MB / 1.5 GB, free: 6.738 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008591/0.7147, allocations: 1.047 MB / 1.501 GB, free: 5.66 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001042/0.7157, allocations: 282.9 kB / 1.502 GB, free: 5.379 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006724/0.7164, allocations: 427.2 kB / 1.502 GB, free: 4.961 MB / 1.201 GB Notification: Performance of SimCode: time 1.102e-06/0.7164, allocations: 0 / 1.502 GB, free: 4.961 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06743/0.7838, allocations: 22.8 MB / 1.524 GB, free: 14.51 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.65/14.43, allocations: 16.16 kB / 1.524 GB, free: 14.5 MB / 1.232 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.398753108922392]