Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001405/0.001405, allocations: 111.2 kB / 16.41 MB, free: 6.492 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.001277/0.001277, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.476/1.476, allocations: 222.9 MB / 241 MB, free: 15.14 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.648/2.648, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 71.88 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.127/1.129, allocations: 151.6 MB / 1.167 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.004225/1.133, allocations: 2.262 MB / 1.17 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00211/1.135, allocations: 0.9408 MB / 1.17 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001907/1.135, allocations: 4 kB / 1.17 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0007223/1.136, allocations: 194.9 kB / 1.171 GB, free: 484 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002467/1.136, allocations: 71.44 kB / 1.171 GB, free: 412 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005197/1.137, allocations: 111.7 kB / 1.171 GB, free: 300 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000417/1.137, allocations: 219.1 kB / 1.171 GB, free: 80 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002336/1.138, allocations: 89.72 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002339/1.138, allocations: 95.47 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/1.138, allocations: 95.44 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.775e-05/1.138, allocations: 16 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004274/1.139, allocations: 151.8 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002388/1.139, allocations: 223.2 kB / 1.172 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002913/1.139, allocations: 262.1 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009624/1.14, allocations: 0.7236 MB / 1.173 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/1.14, allocations: 4 kB / 1.173 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.473e-06/1.14, allocations: 0 / 1.173 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.125e-05/1.14, allocations: 0 / 1.173 GB, free: 14.44 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001784/1.142, allocations: 1.01 MB / 1.174 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/1.142, allocations: 8.922 kB / 1.174 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005409/1.143, allocations: 120.3 kB / 1.174 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/1.144, allocations: 0.5943 MB / 1.174 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/1.144, allocations: 12.36 kB / 1.174 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/1.144, allocations: 12.38 kB / 1.174 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000514/1.144, allocations: 198.7 kB / 1.175 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/1.144, allocations: 4.125 kB / 1.175 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.009e-05/1.144, allocations: 11.94 kB / 1.175 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/1.144, allocations: 4 kB / 1.175 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005054/1.145, allocations: 223.9 kB / 1.175 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/1.146, allocations: 0.9217 MB / 1.176 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000777/1.147, allocations: 314.5 kB / 1.176 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002245/1.147, allocations: 105 kB / 1.176 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008354/1.148, allocations: 248.9 kB / 1.176 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/1.148, allocations: 38.5 kB / 1.176 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 1.412e-06/1.148, allocations: 0 / 1.176 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.000944/1.149, allocations: 401 kB / 1.177 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/1.149, allocations: 55.41 kB / 1.177 GB, free: 9.98 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001375/1.15, allocations: 0.9935 MB / 1.178 GB, free: 8.98 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/1.15, allocations: 29.7 kB / 1.178 GB, free: 8.945 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003482/1.151, allocations: 352 kB / 1.178 GB, free: 8.594 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.181e-05/1.151, allocations: 35.73 kB / 1.178 GB, free: 8.559 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.667e-05/1.151, allocations: 21.72 kB / 1.178 GB, free: 8.531 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001554/1.151, allocations: 318.3 kB / 1.178 GB, free: 8.215 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002103/1.151, allocations: 91.95 kB / 1.179 GB, free: 8.125 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002431/1.151, allocations: 122.5 kB / 1.179 GB, free: 7.996 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004341/1.152, allocations: 218.4 kB / 1.179 GB, free: 7.773 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.152, allocations: 0 / 1.179 GB, free: 7.773 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006596/1.152, allocations: 332.9 kB / 1.179 GB, free: 7.441 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/1.153, allocations: 4 kB / 1.179 GB, free: 7.438 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/1.153, allocations: 0 / 1.179 GB, free: 7.438 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/1.153, allocations: 12 kB / 1.179 GB, free: 7.426 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/1.153, allocations: 19.98 kB / 1.179 GB, free: 7.406 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.556e-05/1.153, allocations: 11.98 kB / 1.179 GB, free: 7.395 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/1.153, allocations: 11.94 kB / 1.179 GB, free: 7.383 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/1.153, allocations: 4 kB / 1.179 GB, free: 7.379 MB / 0.9044 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.0003118/1.153, allocations: 249.7 kB / 1.179 GB, free: 7.125 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/1.153, allocations: 79.47 kB / 1.18 GB, free: 7.047 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007799/1.154, allocations: 332.3 kB / 1.18 GB, free: 6.715 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/1.154, allocations: 0 / 1.18 GB, free: 6.715 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/1.154, allocations: 3.984 kB / 1.18 GB, free: 6.711 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/1.154, allocations: 4 kB / 1.18 GB, free: 6.707 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006256/1.155, allocations: 0.5169 MB / 1.18 GB, free: 6.141 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/1.155, allocations: 7.875 kB / 1.18 GB, free: 6.133 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/1.155, allocations: 19.98 kB / 1.18 GB, free: 6.113 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/1.155, allocations: 4 kB / 1.18 GB, free: 6.109 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/1.155, allocations: 7.984 kB / 1.18 GB, free: 6.102 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/1.155, allocations: 192 / 1.18 GB, free: 6.102 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/1.155, allocations: 0 / 1.18 GB, free: 6.102 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006107/1.156, allocations: 414.8 kB / 1.181 GB, free: 5.68 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002224/1.156, allocations: 188.5 kB / 1.181 GB, free: 5.477 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.082e-05/1.156, allocations: 0 / 1.181 GB, free: 5.477 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/1.156, allocations: 8 kB / 1.181 GB, free: 5.469 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.883e-05/1.156, allocations: 7.984 kB / 1.181 GB, free: 5.461 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-06/1.156, allocations: 0 / 1.181 GB, free: 5.461 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001011/1.157, allocations: 0.7176 MB / 1.182 GB, free: 4.746 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.71e-07/1.157, allocations: 0 / 1.182 GB, free: 4.746 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003779/1.158, allocations: 75.89 kB / 1.182 GB, free: 4.672 MB / 0.9044 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.0002307/1.158, allocations: 115.2 kB / 1.182 GB, free: 4.547 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005585/1.158, allocations: 215.8 kB / 1.182 GB, free: 4.336 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/1.158, allocations: 8 kB / 1.182 GB, free: 4.328 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002188/1.159, allocations: 111.9 kB / 1.182 GB, free: 4.219 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004786/1.159, allocations: 51.25 kB / 1.182 GB, free: 4.172 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/1.161, allocations: 1.176 MB / 1.183 GB, free: 2.965 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008411/1.162, allocations: 0.9401 MB / 1.184 GB, free: 2 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002052/1.162, allocations: 77.8 kB / 1.184 GB, free: 1.926 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.589e-05/1.162, allocations: 35.44 kB / 1.184 GB, free: 1.891 MB / 0.9044 GB Notification: Performance of SimCode: time 3.51e-07/1.162, allocations: 4 kB / 1.184 GB, free: 1.887 MB / 0.9044 GB Notification: Performance of Templates: time 0.01152/1.174, allocations: 4.482 MB / 1.189 GB, free: 13.41 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches