Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.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.001783/0.001783, allocations: 109.5 kB / 19.73 MB, free: 2.238 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.002232/0.002232, allocations: 220 kB / 23.04 MB, free: 5.078 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.426/1.426, allocations: 230.6 MB / 256.8 MB, free: 8.059 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.081/3.081, allocations: 0.49 GB / 0.7959 GB, free: 33.39 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.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",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.001997/0.001997, allocations: 69.03 kB / 1.155 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.336, allocations: 176.1 MB / 1.327 GB, free: 2.035 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.008983/0.345, allocations: 6.075 MB / 1.333 GB, free: 11.93 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1817/0.5267, allocations: 154.4 MB / 1.483 GB, free: 0.9805 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00094/0.5277, allocations: 23.81 kB / 1.483 GB, free: 0.957 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007572/0.5284, allocations: 249.7 kB / 1.484 GB, free: 0.7109 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002061/0.5305, allocations: 0.6418 MB / 1.484 GB, free: 72 kB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002177/0.5326, allocations: 0.923 MB / 1.485 GB, free: 15.15 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002095/0.5347, allocations: 1.665 MB / 1.487 GB, free: 13.48 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00104/0.5358, allocations: 0.605 MB / 1.487 GB, free: 12.84 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009689/0.5368, allocations: 0.6423 MB / 1.488 GB, free: 12.19 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009188/0.5377, allocations: 0.6729 MB / 1.489 GB, free: 11.52 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002163/0.5379, allocations: 156 kB / 1.489 GB, free: 11.36 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001122/0.539, allocations: 0.5504 MB / 1.489 GB, free: 10.81 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003552/0.5394, allocations: 378.8 kB / 1.49 GB, free: 10.44 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0007286/0.5401, allocations: 0.7463 MB / 1.49 GB, free: 9.691 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002693/0.5428, allocations: 2.086 MB / 1.492 GB, free: 7.598 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.5428, allocations: 0 / 1.492 GB, free: 7.598 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.764e-06/0.5428, allocations: 0 / 1.492 GB, free: 7.598 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.691e-05/0.5428, allocations: 0 / 1.492 GB, free: 7.598 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.003287/0.5461, allocations: 1.721 MB / 1.494 GB, free: 5.84 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.5462, allocations: 8.031 kB / 1.494 GB, free: 5.832 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.555e-05/0.5462, allocations: 34.59 kB / 1.494 GB, free: 5.797 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002155/0.5464, allocations: 189.8 kB / 1.494 GB, free: 5.602 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001612/0.548, allocations: 271.8 kB / 1.495 GB, free: 5.336 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001568/0.5496, allocations: 0.8154 MB / 1.495 GB, free: 4.492 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.74e-05/0.5497, allocations: 86.41 kB / 1.495 GB, free: 4.406 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001551/0.5498, allocations: 116 kB / 1.496 GB, free: 4.293 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00218/0.552, allocations: 1.206 MB / 1.497 GB, free: 3.023 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.453e-05/0.552, allocations: 7.938 kB / 1.497 GB, free: 3.016 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/0.5521, allocations: 44 kB / 1.497 GB, free: 2.973 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.832e-05/0.5522, allocations: 36 kB / 1.497 GB, free: 2.938 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002202/0.5544, allocations: 1.277 MB / 1.498 GB, free: 1.652 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005726/0.5601, allocations: 3.652 MB / 1.502 GB, free: 13.79 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001633/0.5617, allocations: 0.8213 MB / 1.502 GB, free: 12.96 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005837/0.5623, allocations: 302.7 kB / 1.503 GB, free: 12.66 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 8.084e-05/0.5624, allocations: 32.61 kB / 1.503 GB, free: 12.63 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009819/0.5634, allocations: 0.5164 MB / 1.503 GB, free: 12.1 MB / 1.201 GB Notification: Performance of pre-optimization done (n=87): time 2.445e-06/0.5634, allocations: 0 / 1.503 GB, free: 12.1 MB / 1.201 GB Notification: Performance of matching and sorting (n=87): time 0.003459/0.5668, allocations: 1.211 MB / 1.504 GB, free: 10.88 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001321/0.567, allocations: 200.8 kB / 1.505 GB, free: 10.64 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/0.5681, allocations: 0.7551 MB / 1.505 GB, free: 9.871 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 9.206e-05/0.5682, allocations: 41.7 kB / 1.505 GB, free: 9.824 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004895/0.5687, allocations: 0.5398 MB / 1.506 GB, free: 9.277 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002768/0.5689, allocations: 297.4 kB / 1.506 GB, free: 8.984 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000266/0.5692, allocations: 158.6 kB / 1.506 GB, free: 8.824 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.5694, allocations: 334 kB / 1.507 GB, free: 8.492 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000568/0.5699, allocations: 269.9 kB / 1.507 GB, free: 8.227 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006842/0.5706, allocations: 390.5 kB / 1.507 GB, free: 7.82 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/0.5718, allocations: 0.6398 MB / 1.508 GB, free: 7.168 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.5718, allocations: 0 / 1.508 GB, free: 7.168 MB / 1.201 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002156/0.574, allocations: 0.8765 MB / 1.509 GB, free: 6.281 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.574, allocations: 11.94 kB / 1.509 GB, free: 6.27 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.574, allocations: 0 / 1.509 GB, free: 6.27 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005969/0.5746, allocations: 84.86 kB / 1.509 GB, free: 6.184 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007012/0.5753, allocations: 163.7 kB / 1.509 GB, free: 6.023 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002159/0.5775, allocations: 1.531 MB / 1.511 GB, free: 4.371 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008/0.5783, allocations: 103.3 kB / 1.511 GB, free: 4.27 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-05/0.5784, allocations: 47.97 kB / 1.511 GB, free: 4.223 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 (96): * Single equations (assignments): 95 * 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.0005749/0.5789, allocations: 289.6 kB / 1.511 GB, free: 3.93 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000214/0.5791, allocations: 99.34 kB / 1.511 GB, free: 3.832 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002584/0.5817, allocations: 1.126 MB / 1.512 GB, free: 2.699 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.5817, allocations: 12 kB / 1.512 GB, free: 2.688 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.5817, allocations: 0 / 1.512 GB, free: 2.688 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/0.5818, allocations: 7.984 kB / 1.512 GB, free: 2.68 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001378/0.5831, allocations: 1.039 MB / 1.513 GB, free: 1.598 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.5831, allocations: 0 / 1.513 GB, free: 1.598 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006426/0.5838, allocations: 159.8 kB / 1.513 GB, free: 1.441 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004359/0.5842, allocations: 68.78 kB / 1.513 GB, free: 1.371 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-05/0.5843, allocations: 31.92 kB / 1.513 GB, free: 1.34 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001987/0.5863, allocations: 1.555 MB / 1.515 GB, free: 15.66 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.5863, allocations: 3.938 kB / 1.515 GB, free: 15.66 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002149/0.5884, allocations: 0.9829 MB / 1.516 GB, free: 14.66 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00048/0.5889, allocations: 223 kB / 1.516 GB, free: 14.44 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/0.589, allocations: 28 kB / 1.516 GB, free: 14.41 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000646/0.5897, allocations: 70.05 kB / 1.516 GB, free: 14.34 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/0.5898, allocations: 80.8 kB / 1.516 GB, free: 14.26 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.346e-05/0.5899, allocations: 31.97 kB / 1.516 GB, free: 14.23 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0007606/0.5907, allocations: 0.5342 MB / 1.517 GB, free: 13.7 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/0.5907, allocations: 4 kB / 1.517 GB, free: 13.7 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001027/0.5917, allocations: 394.9 kB / 1.517 GB, free: 13.31 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.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 (98): * Single equations (assignments): 92 * 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.00439/0.5961, allocations: 2.052 MB / 1.519 GB, free: 11.41 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001782/0.5979, allocations: 0.8274 MB / 1.52 GB, free: 10.57 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.5979, allocations: 3.984 kB / 1.52 GB, free: 10.56 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0009931/0.5989, allocations: 0.5119 MB / 1.521 GB, free: 10.04 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/0.6002, allocations: 329.6 kB / 1.521 GB, free: 9.746 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01228/0.6125, allocations: 7.142 MB / 1.528 GB, free: 2.445 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008055/0.6133, allocations: 1.11 MB / 1.529 GB, free: 1.309 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009379/0.6142, allocations: 287.6 kB / 1.529 GB, free: 1.023 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007129/0.6149, allocations: 491.2 kB / 1.53 GB, free: 0.543 MB / 1.217 GB Notification: Performance of SimCode: time 1.142e-06/0.6149, allocations: 0 / 1.53 GB, free: 0.543 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06169/0.6766, allocations: 25.2 MB / 1.554 GB, free: 7.609 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.62/15.29, allocations: 4.688 kB / 1.554 GB, free: 7.605 MB / 1.248 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.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: 22.174511397024617]