Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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.002091/0.002091, allocations: 105.8 kB / 16.45 MB, free: 6.445 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.002326/0.002326, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.481/1.481, allocations: 225.6 MB / 247.8 MB, free: 3.711 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.747/2.747, allocations: 476.7 MB / 0.7611 GB, free: 15.78 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 67.89 kB / 1.104 GB, free: 6.531 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9785/0.9805, allocations: 168.7 MB / 1.269 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003367/0.9839, allocations: 2.262 MB / 1.271 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001288/0.9852, allocations: 0.958 MB / 1.272 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.74e-05/0.9853, allocations: 5.469 kB / 1.272 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000508/0.9858, allocations: 196.2 kB / 1.272 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001228/0.9859, allocations: 74.44 kB / 1.272 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003451/0.9863, allocations: 112.2 kB / 1.272 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002425/0.9865, allocations: 223.3 kB / 1.272 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.9867, allocations: 63.05 kB / 1.273 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.646e-05/0.9868, allocations: 84.78 kB / 1.273 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.9869, allocations: 108.2 kB / 1.273 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.616e-05/0.9869, allocations: 17 kB / 1.273 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003123/0.9872, allocations: 157 kB / 1.273 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001825/0.9874, allocations: 210.2 kB / 1.273 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001612/0.9876, allocations: 266.6 kB / 1.273 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007178/0.9883, allocations: 0.7307 MB / 1.274 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.9883, allocations: 0 / 1.274 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.693e-06/0.9883, allocations: 0 / 1.274 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.288e-06/0.9883, allocations: 0.9375 kB / 1.274 GB, free: 4.391 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001074/0.9894, allocations: 1 MB / 1.275 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.9894, allocations: 13.12 kB / 1.275 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.869e-05/0.9894, allocations: 46.11 kB / 1.275 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005053/0.9899, allocations: 121.8 kB / 1.275 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007003/0.9906, allocations: 0.595 MB / 1.276 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.9907, allocations: 13.34 kB / 1.276 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.9907, allocations: 12.77 kB / 1.276 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003538/0.991, allocations: 198.5 kB / 1.276 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.9911, allocations: 3.938 kB / 1.276 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.9911, allocations: 4.906 kB / 1.276 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.9911, allocations: 3.625 kB / 1.276 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004195/0.9915, allocations: 224.4 kB / 1.276 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001155/0.9926, allocations: 0.9174 MB / 1.277 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006193/0.9933, allocations: 314.7 kB / 1.277 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.9935, allocations: 112.8 kB / 1.278 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006498/0.9941, allocations: 236.6 kB / 1.278 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.9941, allocations: 32.19 kB / 1.278 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.253e-06/0.9941, allocations: 0 / 1.278 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.0008586/0.995, allocations: 409.2 kB / 1.278 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.553e-05/0.995, allocations: 56.7 kB / 1.278 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/0.9962, allocations: 1.003 MB / 1.279 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.9962, allocations: 27.45 kB / 1.279 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002225/0.9965, allocations: 340.8 kB / 1.28 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.9965, allocations: 36.83 kB / 1.28 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.623e-05/0.9965, allocations: 26.03 kB / 1.28 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.612e-05/0.9966, allocations: 308.6 kB / 1.28 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.9968, allocations: 101.9 kB / 1.28 GB, free: 0.8125 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001867/0.9969, allocations: 117.3 kB / 1.28 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003468/0.9973, allocations: 218.8 kB / 1.28 GB, free: 0.6797 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.9973, allocations: 4 kB / 1.28 GB, free: 0.6758 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004832/0.9978, allocations: 321.2 kB / 1.281 GB, free: 0.543 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.9978, allocations: 9.062 kB / 1.281 GB, free: 0.543 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.9978, allocations: 0 / 1.281 GB, free: 0.543 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.9978, allocations: 2.656 kB / 1.281 GB, free: 0.543 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.998, allocations: 30.92 kB / 1.281 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.998, allocations: 3.344 kB / 1.281 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.9982, allocations: 18.09 kB / 1.281 GB, free: 0.5234 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.9982, allocations: 3.781 kB / 1.281 GB, free: 0.5234 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0002122/0.9984, allocations: 246.8 kB / 1.281 GB, free: 372 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.401e-05/0.9985, allocations: 79.08 kB / 1.281 GB, free: 324 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005878/0.9991, allocations: 339.2 kB / 1.281 GB, free: 184 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.9991, allocations: 2.531 kB / 1.281 GB, free: 184 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.9991, allocations: 0 / 1.281 GB, free: 184 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.9991, allocations: 0.5625 kB / 1.281 GB, free: 184 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007013/0.9998, allocations: 0.5289 MB / 1.282 GB, free: 15.87 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.9998, allocations: 4.969 kB / 1.282 GB, free: 15.87 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001535/0.9999, allocations: 24.02 kB / 1.282 GB, free: 15.86 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.9999, allocations: 1.594 kB / 1.282 GB, free: 15.86 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.9999, allocations: 9.312 kB / 1.282 GB, free: 15.86 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.9999, allocations: 2.594 kB / 1.282 GB, free: 15.86 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.9999, allocations: 0 / 1.282 GB, free: 15.86 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006125/1.001, allocations: 406.4 kB / 1.282 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000273/1.001, allocations: 189.1 kB / 1.282 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.588e-05/1.001, allocations: 1.516 kB / 1.282 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/1.001, allocations: 6.031 kB / 1.282 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.807e-05/1.001, allocations: 5.719 kB / 1.282 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/1.001, allocations: 8.641 kB / 1.282 GB, free: 15.46 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009774/1.002, allocations: 0.7171 MB / 1.283 GB, free: 15.18 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/1.002, allocations: 0 / 1.283 GB, free: 15.18 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004009/1.002, allocations: 72.53 kB / 1.283 GB, free: 15.17 MB / 1.014 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 (9): * Single equations (assignments): 9 * 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.001039/1.004, allocations: 0.9524 MB / 1.284 GB, free: 14.41 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004865/1.004, allocations: 223.3 kB / 1.284 GB, free: 14.34 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/1.004, allocations: 4 kB / 1.284 GB, free: 14.34 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002047/1.004, allocations: 105.8 kB / 1.285 GB, free: 14.31 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004686/1.005, allocations: 59.48 kB / 1.285 GB, free: 14.28 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008975/1.014, allocations: 6.389 MB / 1.291 GB, free: 11.34 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007061/1.014, allocations: 0.9418 MB / 1.292 GB, free: 10.61 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002293/1.015, allocations: 78.47 kB / 1.292 GB, free: 10.59 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002846/1.015, allocations: 220.9 kB / 1.292 GB, free: 10.42 MB / 1.014 GB Notification: Performance of SimCode: time 1.022e-06/1.015, allocations: 0 / 1.292 GB, free: 10.42 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06313/1.078, allocations: 11.83 MB / 1.304 GB, free: 8.684 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.665/10.74, allocations: 11.88 kB / 1.304 GB, free: 8.676 MB / 1.014 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal_fmu --startTime=0 --stopTime=1500 --stepSize=0.6 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.fmu > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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: 16.89680889574811]