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) 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.1.0-maint.11.x/package.mo", uses=false) 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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModBas.PEle|opeModBas.QGen_flow|opeModBas.mWat_flow|opeModBas.TWatIn|opeModBas.mAir_flow|opeModBas.mFue_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModBas.PEle|opeModBas.QGen_flow|opeModBas.mWat_flow|opeModBas.TWatIn|opeModBas.mAir_flow|opeModBas.mFue_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 115.6 kB / 16.81 MB, free: 5.766 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.001909/0.001909, allocations: 192.7 kB / 17.77 MB, free: 5.109 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.467/1.467, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.776/2.776, allocations: 476.7 MB / 0.7556 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 60.41 kB / 1.097 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4012/0.4032, allocations: 168.7 MB / 1.262 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003983/0.4072, allocations: 2.264 MB / 1.264 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001634/0.4088, allocations: 0.9516 MB / 1.265 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.4089, allocations: 4 kB / 1.265 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005882/0.4095, allocations: 198.8 kB / 1.265 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001435/0.4096, allocations: 71.44 kB / 1.265 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004107/0.4101, allocations: 111.7 kB / 1.266 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003724/0.4104, allocations: 227 kB / 1.266 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001947/0.4106, allocations: 61.7 kB / 1.266 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001239/0.4107, allocations: 83.59 kB / 1.266 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001389/0.4109, allocations: 99.42 kB / 1.266 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.939e-05/0.4109, allocations: 16 kB / 1.266 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000328/0.4112, allocations: 155.8 kB / 1.266 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002228/0.4115, allocations: 219.3 kB / 1.266 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002437/0.4117, allocations: 262.1 kB / 1.267 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008818/0.4126, allocations: 0.7309 MB / 1.267 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4126, allocations: 0 / 1.267 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.665e-06/0.4126, allocations: 4 kB / 1.267 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.819e-06/0.4126, allocations: 0 / 1.267 GB, free: 7.434 MB / 0.9825 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.001482/0.4141, allocations: 0.9979 MB / 1.268 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.4141, allocations: 8.031 kB / 1.268 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006147/0.4148, allocations: 124.3 kB / 1.268 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000926/0.4157, allocations: 0.6059 MB / 1.269 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.4157, allocations: 8.375 kB / 1.269 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.848e-05/0.4157, allocations: 12.38 kB / 1.269 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004522/0.4162, allocations: 190.7 kB / 1.269 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.4162, allocations: 192 / 1.269 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.307e-05/0.4162, allocations: 19.88 kB / 1.269 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.4162, allocations: 0 / 1.269 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004982/0.4167, allocations: 231.9 kB / 1.27 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001418/0.4181, allocations: 0.914 MB / 1.27 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007096/0.4189, allocations: 314.4 kB / 1.271 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002236/0.4191, allocations: 105 kB / 1.271 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008154/0.4199, allocations: 240.9 kB / 1.271 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.4199, allocations: 34.56 kB / 1.271 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.4199, allocations: 0 / 1.271 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0008758/0.4208, allocations: 405 kB / 1.271 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/0.4209, allocations: 51.41 kB / 1.271 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001339/0.4222, allocations: 1.001 MB / 1.272 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.4222, allocations: 33.69 kB / 1.273 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003519/0.4226, allocations: 340.2 kB / 1.273 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.886e-05/0.4226, allocations: 35.72 kB / 1.273 GB, free: 1.57 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.644e-05/0.4227, allocations: 25.72 kB / 1.273 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.4228, allocations: 310 kB / 1.273 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002273/0.4231, allocations: 95.95 kB / 1.273 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000236/0.4233, allocations: 134.4 kB / 1.273 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004374/0.4237, allocations: 214.5 kB / 1.274 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.4237, allocations: 0 / 1.274 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006633/0.4244, allocations: 328.9 kB / 1.274 GB, free: 460 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.4244, allocations: 13.94 kB / 1.274 GB, free: 448 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.4244, allocations: 0 / 1.274 GB, free: 448 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.4245, allocations: 0 / 1.274 GB, free: 448 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.4246, allocations: 23.98 kB / 1.274 GB, free: 424 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.729e-06/0.4246, allocations: 4.453 kB / 1.274 GB, free: 420 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001734/0.4248, allocations: 15.89 kB / 1.274 GB, free: 404 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.4248, allocations: 0 / 1.274 GB, free: 404 kB / 0.9825 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.0003077/0.4251, allocations: 262.5 kB / 1.274 GB, free: 132 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.4253, allocations: 79.42 kB / 1.274 GB, free: 52 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007068/0.426, allocations: 328.4 kB / 1.275 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.426, allocations: 3.984 kB / 1.275 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.426, allocations: 0 / 1.275 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002418/0.4262, allocations: 180.5 kB / 1.275 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.31e-05/0.4263, allocations: 0 / 1.275 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.4264, allocations: 8 kB / 1.275 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.848e-05/0.4265, allocations: 11.98 kB / 1.275 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006109/0.4271, allocations: 324.7 kB / 1.275 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006526/0.4277, allocations: 490.2 kB / 1.276 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002372/0.428, allocations: 103.9 kB / 1.276 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009754/0.429, allocations: 0.7176 MB / 1.276 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of Backend: time 5.01e-07/0.429, allocations: 0 / 1.276 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000853/0.4298, allocations: 213.3 kB / 1.277 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of SimCode: time 0.002074/0.4319, allocations: 1.595 MB / 1.278 GB, free: 12 MB / 0.9981 GB Notification: Performance of Templates: time 0.01285/0.4447, allocations: 5.241 MB / 1.283 GB, free: 6.773 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile (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 & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches