Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.001982/0.001982, 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.002828/0.002828, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.7/1.7, 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 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.224/3.224, allocations: 0.4892 GB / 0.7943 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 176] 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.DiffuseIsotropic,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",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.002067/0.002067, allocations: 77.73 kB / 1.153 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3488, allocations: 176.1 MB / 1.325 GB, free: 2.375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006916/0.3557, allocations: 4.423 MB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1688/0.5245, allocations: 132.7 MB / 1.459 GB, free: 8.758 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009946/0.5255, allocations: 27.81 kB / 1.459 GB, free: 8.73 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006827/0.5262, allocations: 206.1 kB / 1.459 GB, free: 8.527 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001795/0.528, allocations: 0.5621 MB / 1.46 GB, free: 7.965 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002007/0.53, allocations: 0.856 MB / 1.461 GB, free: 7.113 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001742/0.5318, allocations: 1.401 MB / 1.462 GB, free: 5.707 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008474/0.5326, allocations: 390 kB / 1.462 GB, free: 5.301 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008844/0.5335, allocations: 0.4944 MB / 1.463 GB, free: 4.805 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007498/0.5342, allocations: 473.7 kB / 1.463 GB, free: 4.34 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001894/0.5344, allocations: 120 kB / 1.463 GB, free: 4.223 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001003/0.5354, allocations: 487.7 kB / 1.464 GB, free: 3.746 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002986/0.5357, allocations: 307 kB / 1.464 GB, free: 3.445 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004814/0.5362, allocations: 465.7 kB / 1.465 GB, free: 2.988 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002086/0.5383, allocations: 1.681 MB / 1.466 GB, free: 1.301 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.5383, allocations: 0 / 1.466 GB, free: 1.301 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5383, allocations: 0 / 1.466 GB, free: 1.301 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.227e-05/0.5383, allocations: 4 kB / 1.466 GB, free: 1.297 MB / 1.154 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.00257/0.5409, allocations: 1.411 MB / 1.468 GB, free: 15.85 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.5409, allocations: 16.03 kB / 1.468 GB, free: 15.83 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001587/0.5411, allocations: 135.4 kB / 1.468 GB, free: 15.69 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00142/0.5425, allocations: 236 kB / 1.468 GB, free: 15.46 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/0.5439, allocations: 0.714 MB / 1.469 GB, free: 14.72 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.308e-05/0.5439, allocations: 62 kB / 1.469 GB, free: 14.66 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.544, allocations: 80 kB / 1.469 GB, free: 14.58 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001767/0.5458, allocations: 1.165 MB / 1.47 GB, free: 13.32 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.5458, allocations: 0 / 1.47 GB, free: 13.32 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.049e-05/0.5459, allocations: 35.98 kB / 1.47 GB, free: 13.28 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.165e-05/0.5459, allocations: 20 kB / 1.47 GB, free: 13.26 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001782/0.5477, allocations: 1.069 MB / 1.471 GB, free: 12.19 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004511/0.5522, allocations: 2.209 MB / 1.473 GB, free: 9.914 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/0.5538, allocations: 0.7523 MB / 1.474 GB, free: 9.152 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005429/0.5543, allocations: 278.6 kB / 1.474 GB, free: 8.879 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.125e-05/0.5544, allocations: 24.62 kB / 1.474 GB, free: 8.855 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001007/0.5554, allocations: 0.584 MB / 1.475 GB, free: 8.227 MB / 1.17 GB Notification: Performance of pre-optimization done (n=80): time 3.627e-06/0.5554, allocations: 3.938 kB / 1.475 GB, free: 8.223 MB / 1.17 GB Notification: Performance of matching and sorting (n=80): time 0.003414/0.5588, allocations: 1.131 MB / 1.476 GB, free: 7.082 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000133/0.559, allocations: 188.6 kB / 1.476 GB, free: 6.855 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000941/0.5599, allocations: 0.649 MB / 1.477 GB, free: 6.199 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.544e-05/0.56, allocations: 53.62 kB / 1.477 GB, free: 6.141 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003999/0.5604, allocations: 405 kB / 1.477 GB, free: 5.738 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002638/0.5606, allocations: 273.8 kB / 1.477 GB, free: 5.469 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000237/0.5609, allocations: 154.6 kB / 1.478 GB, free: 5.312 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002215/0.5611, allocations: 386.7 kB / 1.478 GB, free: 4.926 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000552/0.5617, allocations: 241.9 kB / 1.478 GB, free: 4.688 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007247/0.5624, allocations: 495 kB / 1.479 GB, free: 4.148 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/0.5635, allocations: 0.58 MB / 1.479 GB, free: 3.559 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.5635, allocations: 3.938 kB / 1.479 GB, free: 3.555 MB / 1.17 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001983/0.5655, allocations: 0.8141 MB / 1.48 GB, free: 2.727 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.5655, allocations: 4 kB / 1.48 GB, free: 2.723 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.5655, allocations: 0 / 1.48 GB, free: 2.723 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000604/0.5661, allocations: 80.78 kB / 1.48 GB, free: 2.641 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006353/0.5668, allocations: 163.7 kB / 1.48 GB, free: 2.48 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002149/0.5689, allocations: 1.507 MB / 1.482 GB, free: 0.8555 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007474/0.5697, allocations: 91.61 kB / 1.482 GB, free: 0.7656 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-05/0.5697, allocations: 27.98 kB / 1.482 GB, free: 0.7383 MB / 1.17 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 (87): * Single equations (assignments): 86 * 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.0005178/0.5702, allocations: 270.5 kB / 1.482 GB, free: 476 kB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001893/0.5704, allocations: 87.44 kB / 1.482 GB, free: 388 kB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002452/0.5729, allocations: 1.066 MB / 1.483 GB, free: 15.3 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.5729, allocations: 8 kB / 1.483 GB, free: 15.29 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.5729, allocations: 3.938 kB / 1.483 GB, free: 15.29 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.5729, allocations: 3.984 kB / 1.483 GB, free: 15.28 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.574, allocations: 0.7546 MB / 1.484 GB, free: 14.49 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.574, allocations: 4 kB / 1.484 GB, free: 14.48 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005794/0.5746, allocations: 139.8 kB / 1.484 GB, free: 14.35 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004363/0.5751, allocations: 68.8 kB / 1.484 GB, free: 14.28 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.893e-05/0.5751, allocations: 27.97 kB / 1.484 GB, free: 14.25 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00202/0.5771, allocations: 1.551 MB / 1.486 GB, free: 12.58 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.5771, allocations: 4.062 kB / 1.486 GB, free: 12.57 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002119/0.5793, allocations: 0.9322 MB / 1.487 GB, free: 11.62 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004887/0.5797, allocations: 207 kB / 1.487 GB, free: 11.42 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/0.5799, allocations: 23.98 kB / 1.487 GB, free: 11.39 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006095/0.5805, allocations: 57.5 kB / 1.487 GB, free: 11.34 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001642/0.5807, allocations: 80.8 kB / 1.487 GB, free: 11.26 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.778e-05/0.5807, allocations: 35.92 kB / 1.487 GB, free: 11.22 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006711/0.5814, allocations: 479 kB / 1.487 GB, free: 10.76 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5814, allocations: 4 kB / 1.487 GB, free: 10.75 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009336/0.5823, allocations: 319.2 kB / 1.488 GB, free: 10.44 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * 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.004436/0.5868, allocations: 2.017 MB / 1.49 GB, free: 8.613 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001765/0.5885, allocations: 0.7688 MB / 1.49 GB, free: 7.828 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.5885, allocations: 8.047 kB / 1.49 GB, free: 7.82 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009613/0.5895, allocations: 492.2 kB / 1.491 GB, free: 7.332 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/0.5908, allocations: 301.6 kB / 1.491 GB, free: 7.055 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01088/0.6017, allocations: 6.221 MB / 1.497 GB, free: 0.6758 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004625/0.6022, allocations: 439.8 kB / 1.498 GB, free: 216 kB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0008766/0.603, allocations: 266.7 kB / 1.498 GB, free: 15.95 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005611/0.6036, allocations: 387.3 kB / 1.498 GB, free: 15.57 MB / 1.201 GB Notification: Performance of SimCode: time 1.272e-06/0.6036, allocations: 4 kB / 1.498 GB, free: 15.56 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06815/0.6717, allocations: 23.4 MB / 1.521 GB, free: 8.477 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.7/14.37, allocations: 9.312 kB / 1.521 GB, free: 8.473 MB / 1.217 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.751435045152903]