Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: 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_10_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_10_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.001489/0.001496, allocations: 106.4 kB / 16.41 MB, free: 6.453 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.00167/0.001671, allocations: 192.3 kB / 17.35 MB, free: 5.715 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.458/1.458, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.585/2.585, allocations: 437 MB / 0.7112 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 63.89 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9589/0.9604, allocations: 151.6 MB / 1.167 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.005321/0.9658, allocations: 2.746 MB / 1.17 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002366/0.9682, allocations: 1.092 MB / 1.171 GB, free: 24 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004317/0.9686, allocations: 4 kB / 1.171 GB, free: 20 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0009079/0.9696, allocations: 210.8 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0005139/0.9701, allocations: 83.25 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007452/0.9709, allocations: 179.7 kB / 1.172 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0007563/0.9717, allocations: 411.6 kB / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004954/0.9722, allocations: 213.5 kB / 1.172 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003192/0.9725, allocations: 151.3 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000308/0.9728, allocations: 183 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001086/0.9729, allocations: 40 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004689/0.9734, allocations: 171.8 kB / 1.173 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002866/0.9737, allocations: 267.1 kB / 1.173 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004128/0.9741, allocations: 357.6 kB / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001102/0.9753, allocations: 0.9592 MB / 1.174 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.9753, allocations: 0 / 1.174 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.164e-06/0.9753, allocations: 0 / 1.174 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.04e-05/0.9753, allocations: 0 / 1.174 GB, free: 12.83 MB / 0.9044 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.00218/0.9775, allocations: 1.125 MB / 1.175 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/0.9776, allocations: 8.922 kB / 1.175 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001437/0.979, allocations: 243.5 kB / 1.176 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001584/0.9806, allocations: 0.7228 MB / 1.176 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.95e-05/0.9807, allocations: 25.03 kB / 1.176 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.996e-05/0.9807, allocations: 32.38 kB / 1.176 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009097/0.9816, allocations: 378.5 kB / 1.177 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.9817, allocations: 3.938 kB / 1.177 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.536e-05/0.9817, allocations: 12 kB / 1.177 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.9817, allocations: 4 kB / 1.177 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.9828, allocations: 422.3 kB / 1.177 GB, free: 9.762 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003499/0.9863, allocations: 1.779 MB / 1.179 GB, free: 7.891 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006657/0.987, allocations: 222.5 kB / 1.179 GB, free: 7.664 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000315/0.9873, allocations: 104.8 kB / 1.179 GB, free: 7.559 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.546e-05/0.9873, allocations: 4 kB / 1.179 GB, free: 7.555 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/0.9874, allocations: 38.55 kB / 1.179 GB, free: 7.508 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=20): time 2.464e-06/0.9874, allocations: 0 / 1.179 GB, free: 7.508 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20): time 0.001142/0.9886, allocations: 378.5 kB / 1.18 GB, free: 7.133 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.9886, allocations: 55.41 kB / 1.18 GB, free: 7.066 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001649/0.9903, allocations: 1.247 MB / 1.181 GB, free: 5.797 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.655e-05/0.9903, allocations: 33.7 kB / 1.181 GB, free: 5.758 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003763/0.9907, allocations: 424.1 kB / 1.181 GB, free: 5.34 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.575e-05/0.9908, allocations: 71.39 kB / 1.181 GB, free: 5.27 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.9909, allocations: 53.61 kB / 1.181 GB, free: 5.211 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.991, allocations: 322 kB / 1.182 GB, free: 4.891 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003536/0.9913, allocations: 147.9 kB / 1.182 GB, free: 4.746 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003818/0.9917, allocations: 205.9 kB / 1.182 GB, free: 4.523 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006496/0.9924, allocations: 283.3 kB / 1.182 GB, free: 4.23 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.9924, allocations: 0 / 1.182 GB, free: 4.23 MB / 0.9044 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009815/0.9934, allocations: 464.4 kB / 1.183 GB, free: 3.77 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.9934, allocations: 8 kB / 1.183 GB, free: 3.762 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.9934, allocations: 0 / 1.183 GB, free: 3.762 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.9935, allocations: 7.938 kB / 1.183 GB, free: 3.754 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003333/0.9938, allocations: 55.89 kB / 1.183 GB, free: 3.699 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/0.9938, allocations: 4 kB / 1.183 GB, free: 3.695 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003338/0.9942, allocations: 39.67 kB / 1.183 GB, free: 3.656 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.63e-05/0.9942, allocations: 12 kB / 1.183 GB, free: 3.645 MB / 0.9044 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.0003365/0.9946, allocations: 269.7 kB / 1.183 GB, free: 3.371 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/0.9947, allocations: 86.88 kB / 1.183 GB, free: 3.285 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008723/0.9956, allocations: 325.7 kB / 1.183 GB, free: 2.961 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.9956, allocations: 3.984 kB / 1.183 GB, free: 2.957 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.9956, allocations: 0 / 1.183 GB, free: 2.957 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002884/0.9959, allocations: 203.9 kB / 1.184 GB, free: 2.738 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.007e-05/0.996, allocations: 11.98 kB / 1.184 GB, free: 2.727 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002916/0.9963, allocations: 15.98 kB / 1.184 GB, free: 2.711 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.64e-05/0.9963, allocations: 19.92 kB / 1.184 GB, free: 2.691 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008292/0.9972, allocations: 319.2 kB / 1.184 GB, free: 2.375 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007869/0.998, allocations: 474.4 kB / 1.184 GB, free: 1.895 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002832/0.9983, allocations: 91.94 kB / 1.185 GB, free: 1.805 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001153/0.9994, allocations: 0.9028 MB / 1.185 GB, free: 0.8906 MB / 0.9044 GB Notification: Performance of Backend: time 4.81e-07/0.9994, allocations: 0 / 1.185 GB, free: 0.8906 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001006/1, allocations: 301.2 kB / 1.186 GB, free: 0.5938 MB / 0.9044 GB Notification: Performance of SimCode: time 0.002276/1.003, allocations: 1.754 MB / 1.187 GB, free: 14.78 MB / 0.92 GB Notification: Performance of Templates: time 0.01437/1.017, allocations: 6.764 MB / 1.194 GB, free: 8.023 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches