Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001065/0.001064, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.00117/0.00117, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.684/1.684, allocations: 223.3 MB / 240 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.486/2.486, allocations: 390.9 MB / 0.666 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004523/0.0004524, allocations: 12 kB / 0.8154 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7961/0.7965, allocations: 142.4 MB / 0.9544 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.002046/0.7986, allocations: 1.898 MB / 0.9563 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001095/0.7998, allocations: 0.8536 MB / 0.9571 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.653e-05/0.7999, allocations: 1.406 kB / 0.9571 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003973/0.8003, allocations: 173.4 kB / 0.9573 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.217e-05/0.8004, allocations: 55.69 kB / 0.9574 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002828/0.8006, allocations: 86.58 kB / 0.9574 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002067/0.8009, allocations: 199 kB / 0.9576 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001717/0.801, allocations: 61.22 kB / 0.9577 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.8012, allocations: 70.62 kB / 0.9578 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.8013, allocations: 91.62 kB / 0.9578 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.8013, allocations: 7.594 kB / 0.9578 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002645/0.8016, allocations: 139.8 kB / 0.958 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001553/0.8017, allocations: 191.9 kB / 0.9582 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.082e-05/0.8018, allocations: 127.1 kB / 0.9583 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004368/0.8023, allocations: 0.5447 MB / 0.9588 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.8023, allocations: 1.375 kB / 0.9588 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.844e-06/0.8023, allocations: 0 / 0.9588 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.8023, allocations: 0 / 0.9588 GB, free: 4.633 MB / 0.7169 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.0008919/0.8032, allocations: 0.8814 MB / 0.9597 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.8032, allocations: 17.61 kB / 0.9597 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004715/0.8037, allocations: 123.2 kB / 0.9598 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006364/0.8044, allocations: 0.548 MB / 0.9603 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.8044, allocations: 9.281 kB / 0.9604 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.8044, allocations: 11.72 kB / 0.9604 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003707/0.8048, allocations: 201.1 kB / 0.9606 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.8048, allocations: 0 / 0.9606 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.8048, allocations: 5.281 kB / 0.9606 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.8048, allocations: 3.625 kB / 0.9606 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004603/0.8053, allocations: 238.5 kB / 0.9608 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.8064, allocations: 0.918 MB / 0.9617 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000589/0.807, allocations: 313.6 kB / 0.962 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/0.8072, allocations: 114 kB / 0.9621 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00081/0.808, allocations: 400 kB / 0.9625 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.363e-05/0.808, allocations: 31.69 kB / 0.9625 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.808, allocations: 0 / 0.9625 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0007084/0.8087, allocations: 405.7 kB / 0.9629 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.8088, allocations: 52.66 kB / 0.9629 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.8099, allocations: 0.988 MB / 0.9639 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.81, allocations: 25.7 kB / 0.9639 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002582/0.8102, allocations: 347.5 kB / 0.9643 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.8103, allocations: 31.33 kB / 0.9643 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.476e-06/0.8103, allocations: 1.125 kB / 0.9643 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.263e-05/0.8103, allocations: 315.4 kB / 0.9646 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001849/0.8105, allocations: 93.95 kB / 0.9647 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/0.8107, allocations: 117.2 kB / 0.9648 GB, free: 444 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001822/0.8109, allocations: 108.2 kB / 0.9649 GB, free: 396 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.8109, allocations: 0 / 0.9649 GB, free: 396 kB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004993/0.8114, allocations: 313.8 kB / 0.9652 GB, free: 240 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.8115, allocations: 10.3 kB / 0.9652 GB, free: 236 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.8115, allocations: 1.5 kB / 0.9652 GB, free: 236 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.8115, allocations: 4.922 kB / 0.9652 GB, free: 232 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.8117, allocations: 22.89 kB / 0.9652 GB, free: 228 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.8117, allocations: 4.938 kB / 0.9652 GB, free: 224 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.8118, allocations: 13.98 kB / 0.9653 GB, free: 216 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.8118, allocations: 11.09 kB / 0.9653 GB, free: 208 kB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002044/0.8121, allocations: 245.9 kB / 0.9655 GB, free: 16 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.8122, allocations: 75.53 kB / 0.9656 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006357/0.8128, allocations: 328.1 kB / 0.9659 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.8128, allocations: 4.531 kB / 0.9659 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.8128, allocations: 0.9375 kB / 0.9659 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.8128, allocations: 0 / 0.9659 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006206/0.8135, allocations: 0.5352 MB / 0.9664 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.8135, allocations: 4 kB / 0.9664 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.8136, allocations: 20.2 kB / 0.9664 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.8136, allocations: 1.094 kB / 0.9664 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.8137, allocations: 4.938 kB / 0.9664 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.698e-06/0.8137, allocations: 5.109 kB / 0.9665 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.8137, allocations: 0 / 0.9665 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005648/0.8143, allocations: 402.2 kB / 0.9668 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001927/0.8145, allocations: 182 kB / 0.967 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.517e-05/0.8145, allocations: 1.312 kB / 0.967 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.8147, allocations: 7.984 kB / 0.967 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.8147, allocations: 11.14 kB / 0.967 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.8148, allocations: 14.33 kB / 0.967 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009164/0.8157, allocations: 0.7072 MB / 0.9677 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8157, allocations: 0 / 0.9677 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003868/0.8161, allocations: 67.31 kB / 0.9678 GB, free: 14.52 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002011/0.8163, allocations: 119 kB / 0.9679 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004536/0.8168, allocations: 220 kB / 0.9681 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.8168, allocations: 0 / 0.9681 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001964/0.817, allocations: 106.9 kB / 0.9682 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004147/0.8174, allocations: 57.3 kB / 0.9683 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/0.8194, allocations: 1.285 MB / 0.9695 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006049/0.82, allocations: 0.9425 MB / 0.9705 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002347/0.8202, allocations: 83 kB / 0.9705 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.149e-05/0.8203, allocations: 31.69 kB / 0.9706 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of SimCode: time 3.81e-07/0.8204, allocations: 0 / 0.9706 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of Templates: time 0.01042/0.8308, allocations: 4.058 MB / 0.9745 GB, free: 10.6 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches