Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.001617/0.001617, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.00195/0.00195, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.551/1.551, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.798/2.798, allocations: 476.7 MB / 0.7678 GB, free: 9.5 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",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.001962/0.001962, allocations: 67.89 kB / 1.113 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9528/0.9547, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003725/0.9585, allocations: 1.954 MB / 1.281 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.005263/0.9637, allocations: 3.587 MB / 1.284 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001769/0.9639, allocations: 4.75 kB / 1.284 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000314/0.9642, allocations: 63.84 kB / 1.284 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005275/0.9648, allocations: 129.6 kB / 1.285 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001772/0.9649, allocations: 52.59 kB / 1.285 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002821/0.9652, allocations: 186.6 kB / 1.285 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.9653, allocations: 25.7 kB / 1.285 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002232/0.9655, allocations: 93.67 kB / 1.285 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001655/0.9657, allocations: 86.97 kB / 1.285 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.734e-05/0.9657, allocations: 8.219 kB / 1.285 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.9658, allocations: 36.23 kB / 1.285 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.558e-05/0.9659, allocations: 39.42 kB / 1.285 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.966, allocations: 86.02 kB / 1.285 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003247/0.9663, allocations: 175.9 kB / 1.285 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.9663, allocations: 4 kB / 1.285 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9663, allocations: 0 / 1.285 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.9664, allocations: 1.438 kB / 1.285 GB, free: 7.293 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001017/0.9674, allocations: 0.5234 MB / 1.286 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.9674, allocations: 9.531 kB / 1.286 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.682e-05/0.9674, allocations: 6.844 kB / 1.286 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.479e-05/0.9675, allocations: 40.36 kB / 1.286 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003732/0.9678, allocations: 54.11 kB / 1.286 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004821/0.9683, allocations: 266.8 kB / 1.286 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.615e-06/0.9683, allocations: 3.359 kB / 1.286 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.647e-05/0.9684, allocations: 7.906 kB / 1.286 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003801/0.9687, allocations: 143.2 kB / 1.286 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.9688, allocations: 0 / 1.286 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.9688, allocations: 5.438 kB / 1.286 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.755e-05/0.9688, allocations: 9.922 kB / 1.286 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004684/0.9693, allocations: 141.6 kB / 1.286 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007821/0.97, allocations: 456.5 kB / 1.287 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004548/0.9705, allocations: 174.2 kB / 1.287 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002741/0.9708, allocations: 101 kB / 1.287 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.9708, allocations: 1.312 kB / 1.287 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.9708, allocations: 36.36 kB / 1.287 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 1.433e-06/0.9708, allocations: 0 / 1.287 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.0009174/0.9717, allocations: 293.5 kB / 1.287 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.9718, allocations: 53.47 kB / 1.288 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002433/0.972, allocations: 223.5 kB / 1.288 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.9721, allocations: 29.7 kB / 1.288 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.027e-05/0.9722, allocations: 125.7 kB / 1.288 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.528e-05/0.9722, allocations: 52.7 kB / 1.288 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.466e-05/0.9723, allocations: 32.48 kB / 1.288 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.9725, allocations: 334.8 kB / 1.288 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002429/0.9727, allocations: 75.25 kB / 1.288 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002244/0.9729, allocations: 80.44 kB / 1.288 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004795/0.9734, allocations: 166.9 kB / 1.289 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.9734, allocations: 0 / 1.289 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005978/0.974, allocations: 223.2 kB / 1.289 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.974, allocations: 5.844 kB / 1.289 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.974, allocations: 0 / 1.289 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.974, allocations: 1.062 kB / 1.289 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002562/0.9743, allocations: 34.5 kB / 1.289 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.9743, allocations: 4 kB / 1.289 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001768/0.9745, allocations: 21.5 kB / 1.289 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.9745, allocations: 4.531 kB / 1.289 GB, free: 4.902 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001365/0.9746, allocations: 133.1 kB / 1.289 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.451e-05/0.9747, allocations: 21.17 kB / 1.289 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.704e-05/0.9747, allocations: 25.66 kB / 1.289 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.9748, allocations: 1.891 kB / 1.289 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.9748, allocations: 1.719 kB / 1.289 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/0.9748, allocations: 9.25 kB / 1.289 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003185/0.9751, allocations: 264.6 kB / 1.289 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.9751, allocations: 0 / 1.289 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002232/0.9753, allocations: 33.3 kB / 1.289 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.9753, allocations: 1.25 kB / 1.289 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.9753, allocations: 6.344 kB / 1.289 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.9753, allocations: 1.312 kB / 1.289 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.9753, allocations: 0 / 1.289 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006966/0.976, allocations: 329.5 kB / 1.29 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.9762, allocations: 110.4 kB / 1.29 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.388e-05/0.9762, allocations: 5.344 kB / 1.29 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001976/0.9764, allocations: 15.55 kB / 1.29 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.21e-05/0.9764, allocations: 14 kB / 1.29 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.9765, allocations: 11.62 kB / 1.29 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001582/0.9766, allocations: 164.8 kB / 1.29 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.9766, allocations: 0 / 1.29 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002872/0.9769, allocations: 43.03 kB / 1.29 GB, free: 4.059 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001021/0.9779, allocations: 0.8607 MB / 1.291 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005752/0.9785, allocations: 169.8 kB / 1.291 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.9785, allocations: 0 / 1.291 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002675/0.9788, allocations: 93.88 kB / 1.291 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003941/0.9792, allocations: 31.31 kB / 1.291 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003724/0.9829, allocations: 2.342 MB / 1.293 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003917/0.9833, allocations: 0.732 MB / 1.294 GB, free: 1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001887/0.9835, allocations: 51.11 kB / 1.294 GB, free: 0.9922 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.9836, allocations: 59.31 kB / 1.294 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of SimCode: time 8.01e-07/0.9836, allocations: 0 / 1.294 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02251/1.006, allocations: 4.089 MB / 1.298 GB, free: 412 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.609/9.615, allocations: 3.562 kB / 1.298 GB, free: 412 kB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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: 15.93330184702063]