Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 191.6 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.76/2.76, allocations: 461.9 MB / 0.7342 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001272, allocations: 62.25 kB / 0.8984 GB, free: 37.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3651, allocations: 157.4 MB / 1.052 GB, free: 8.84 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.004357/0.3695, allocations: 2.789 MB / 1.055 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001874/0.3714, allocations: 1.077 MB / 1.056 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001788/0.3716, allocations: 4 kB / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000644/0.3722, allocations: 191.1 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.00017/0.3724, allocations: 71.55 kB / 1.056 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004299/0.3729, allocations: 147.9 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003702/0.3732, allocations: 382.9 kB / 1.057 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003185/0.3736, allocations: 201.8 kB / 1.057 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001618/0.3737, allocations: 139.2 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001731/0.3739, allocations: 183 kB / 1.057 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.451e-05/0.374, allocations: 20 kB / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003109/0.3743, allocations: 155.8 kB / 1.057 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002236/0.3745, allocations: 247.2 kB / 1.058 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002592/0.3748, allocations: 325.7 kB / 1.058 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0008042/0.3756, allocations: 0.9183 MB / 1.059 GB, free: 2 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3756, allocations: 3.938 kB / 1.059 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.92e-07/0.3756, allocations: 0 / 1.059 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.3756, allocations: 0 / 1.059 GB, free: 1.996 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001493/0.3771, allocations: 1.124 MB / 1.06 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.3772, allocations: 8.031 kB / 1.06 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001347/0.3785, allocations: 239.4 kB / 1.06 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001549/0.3801, allocations: 0.7228 MB / 1.061 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.054e-05/0.3802, allocations: 29.03 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.013e-05/0.3802, allocations: 28.38 kB / 1.061 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008979/0.3811, allocations: 390.5 kB / 1.061 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.3812, allocations: 3.938 kB / 1.061 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.816e-05/0.3812, allocations: 12 kB / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.3812, allocations: 8 kB / 1.061 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.3823, allocations: 418.4 kB / 1.062 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003662/0.386, allocations: 1.779 MB / 1.063 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006939/0.3867, allocations: 218.8 kB / 1.064 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003132/0.387, allocations: 100.8 kB / 1.064 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.722e-05/0.387, allocations: 16.05 kB / 1.064 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.3871, allocations: 38.52 kB / 1.064 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 3.186e-06/0.3871, allocations: 0 / 1.064 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.001116/0.3882, allocations: 373.7 kB / 1.064 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.3883, allocations: 59.36 kB / 1.064 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/0.3897, allocations: 1.243 MB / 1.065 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.612e-05/0.3898, allocations: 33.7 kB / 1.065 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003654/0.3901, allocations: 428.1 kB / 1.066 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.948e-05/0.3902, allocations: 67.02 kB / 1.066 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.3903, allocations: 53.69 kB / 1.066 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.3905, allocations: 322 kB / 1.066 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003418/0.3908, allocations: 143.9 kB / 1.066 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003845/0.3912, allocations: 202.4 kB / 1.067 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006671/0.3919, allocations: 288 kB / 1.067 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3919, allocations: 0 / 1.067 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008916/0.3928, allocations: 460.2 kB / 1.067 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.3928, allocations: 11.94 kB / 1.067 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.3928, allocations: 3.984 kB / 1.067 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.3929, allocations: 7.938 kB / 1.067 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003348/0.3932, allocations: 60.03 kB / 1.067 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.3932, allocations: 4 kB / 1.067 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002764/0.3935, allocations: 31.67 kB / 1.067 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.729e-05/0.3935, allocations: 15.98 kB / 1.067 GB, free: 8.797 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (opeModWarUpEngTem.temChe.y,$PRE.opeModWarUpEngTem.temChe.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0003079/0.3938, allocations: 267.2 kB / 1.068 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.394, allocations: 90.81 kB / 1.068 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008363/0.3948, allocations: 323.5 kB / 1.068 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.3948, allocations: 4 kB / 1.068 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.3948, allocations: 4 kB / 1.068 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3948, allocations: 0 / 1.068 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001765/0.3966, allocations: 1.007 MB / 1.069 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.3966, allocations: 4.188 kB / 1.069 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002587/0.3969, allocations: 51.91 kB / 1.069 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.3969, allocations: 4 kB / 1.069 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.436e-05/0.3969, allocations: 7.984 kB / 1.069 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.397, allocations: 4 kB / 1.069 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.397, allocations: 0 / 1.069 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007783/0.3977, allocations: 435.6 kB / 1.07 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002476/0.398, allocations: 207.9 kB / 1.07 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.243e-05/0.3981, allocations: 8 kB / 1.07 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002758/0.3984, allocations: 15.98 kB / 1.07 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.634e-05/0.3984, allocations: 23.91 kB / 1.07 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/0.3985, allocations: 12 kB / 1.07 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001122/0.3996, allocations: 0.9028 MB / 1.071 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3996, allocations: 0 / 1.071 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004598/0.4001, allocations: 95.84 kB / 1.071 GB, free: 5.207 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (opeModWarUpEngTem.temChe.y) * Number of discrete states: 1 (opeModWarUpEngTem.temChe.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0002361/0.4003, allocations: 119.2 kB / 1.071 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007367/0.4011, allocations: 283.5 kB / 1.071 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.4011, allocations: 4.062 kB / 1.071 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003222/0.4014, allocations: 99.83 kB / 1.071 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005529/0.402, allocations: 74.27 kB / 1.071 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002722/0.4047, allocations: 1.616 MB / 1.073 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007487/0.4055, allocations: 0.9998 MB / 1.074 GB, free: 1.945 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003721/0.4058, allocations: 96.64 kB / 1.074 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.406, allocations: 43.42 kB / 1.074 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of SimCode: time 2.535e-06/0.406, allocations: 8 kB / 1.074 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of Templates: time 0.01196/0.418, allocations: 5.28 MB / 1.079 GB, free: 12.53 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches