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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.0089/0.0089, allocations: 103.2 kB / 15.73 MB, free: 5.957 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.001791/0.001791, allocations: 187.4 kB / 16.67 MB, free: 5.887 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.446/1.446, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.301/2.301, allocations: 390.2 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 67.89 kB / 0.9509 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9509/0.9522, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.004071/0.9563, allocations: 2.249 MB / 1.09 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001785/0.9581, allocations: 0.947 MB / 1.091 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001352/0.9582, allocations: 6.188 kB / 1.091 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007043/0.959, allocations: 202.7 kB / 1.091 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001695/0.9592, allocations: 63.73 kB / 1.091 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004819/0.9596, allocations: 115 kB / 1.091 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003365/0.96, allocations: 224.7 kB / 1.092 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002324/0.9602, allocations: 94.3 kB / 1.092 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.9604, allocations: 85.89 kB / 1.092 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.9605, allocations: 100.9 kB / 1.092 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.406e-05/0.9606, allocations: 18.19 kB / 1.092 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003909/0.961, allocations: 160.5 kB / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002722/0.9612, allocations: 209.6 kB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002138/0.9615, allocations: 259.8 kB / 1.093 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008652/0.9623, allocations: 0.7288 MB / 1.093 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.9624, allocations: 0.6875 kB / 1.093 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.264e-06/0.9624, allocations: 0 / 1.093 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.9624, allocations: 0.8125 kB / 1.093 GB, free: 2.172 MB / 0.8575 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.001219/0.9636, allocations: 0.9661 MB / 1.094 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.9636, allocations: 9.719 kB / 1.094 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000577/0.9642, allocations: 121.1 kB / 1.094 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000801/0.965, allocations: 0.5868 MB / 1.095 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.9651, allocations: 9.688 kB / 1.095 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/0.9651, allocations: 11.72 kB / 1.095 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004652/0.9656, allocations: 199.1 kB / 1.095 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.9656, allocations: 4.172 kB / 1.095 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.9656, allocations: 8.875 kB / 1.095 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.9656, allocations: 3.156 kB / 1.095 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004973/0.9661, allocations: 226.1 kB / 1.095 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001328/0.9675, allocations: 0.9159 MB / 1.096 GB, free: 284 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007308/0.9682, allocations: 315.7 kB / 1.097 GB, free: 180 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002238/0.9685, allocations: 103.4 kB / 1.097 GB, free: 148 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007883/0.9692, allocations: 235.3 kB / 1.097 GB, free: 32 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.9693, allocations: 43.95 kB / 1.097 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=9): time 1.853e-06/0.9693, allocations: 1.062 kB / 1.097 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of matching and sorting (n=9): time 0.0009409/0.9703, allocations: 395.7 kB / 1.097 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.9703, allocations: 61.06 kB / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001487/0.9718, allocations: 0.9998 MB / 1.098 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.9719, allocations: 29.7 kB / 1.098 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003909/0.9723, allocations: 346.5 kB / 1.099 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.208e-05/0.9723, allocations: 30.36 kB / 1.099 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.048e-05/0.9724, allocations: 24.17 kB / 1.099 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.9725, allocations: 312.5 kB / 1.099 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002239/0.9727, allocations: 104.1 kB / 1.099 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002421/0.973, allocations: 115.5 kB / 1.099 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004728/0.9734, allocations: 222.4 kB / 1.099 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.9735, allocations: 0 / 1.099 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006506/0.9741, allocations: 321.1 kB / 1.1 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.9741, allocations: 5.625 kB / 1.1 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.9742, allocations: 1.094 kB / 1.1 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.9742, allocations: 1.156 kB / 1.1 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.9744, allocations: 28.98 kB / 1.1 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.555e-06/0.9744, allocations: 0.7188 kB / 1.1 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.9746, allocations: 12.16 kB / 1.1 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/0.9746, allocations: 12.7 kB / 1.1 GB, free: 14.41 MB / 0.8731 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.0002864/0.9749, allocations: 243.5 kB / 1.1 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.975, allocations: 75.91 kB / 1.1 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006837/0.9757, allocations: 334.6 kB / 1.1 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.9757, allocations: 1.781 kB / 1.1 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.9757, allocations: 0 / 1.1 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.9757, allocations: 0.8438 kB / 1.1 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008486/0.9766, allocations: 0.5332 MB / 1.101 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.451e-06/0.9766, allocations: 4.625 kB / 1.101 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001695/0.9768, allocations: 23.97 kB / 1.101 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.9768, allocations: 1.219 kB / 1.101 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.9768, allocations: 5.641 kB / 1.101 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.9768, allocations: 1.359 kB / 1.101 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.9768, allocations: 0.7188 kB / 1.101 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006438/0.9775, allocations: 405.9 kB / 1.101 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002118/0.9777, allocations: 186.1 kB / 1.102 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.537e-05/0.9777, allocations: 1.375 kB / 1.102 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/0.9779, allocations: 10.98 kB / 1.102 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.944e-05/0.978, allocations: 8.547 kB / 1.102 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.978, allocations: 3.891 kB / 1.102 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0009551/0.979, allocations: 0.7164 MB / 1.102 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.979, allocations: 0 / 1.102 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004485/0.9794, allocations: 72.19 kB / 1.102 GB, free: 13.07 MB / 0.8731 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.0002242/0.9796, allocations: 117.8 kB / 1.102 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005464/0.9802, allocations: 220.7 kB / 1.103 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.9802, allocations: 0 / 1.103 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000232/0.9805, allocations: 108.7 kB / 1.103 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004558/0.9809, allocations: 52.02 kB / 1.103 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/0.9828, allocations: 1.152 MB / 1.104 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006713/0.9835, allocations: 0.9462 MB / 1.105 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002194/0.9837, allocations: 78.73 kB / 1.105 GB, free: 11.53 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.9838, allocations: 36.98 kB / 1.105 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of SimCode: time 7.91e-07/0.9838, allocations: 3.938 kB / 1.105 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of Templates: time 0.01443/0.9983, allocations: 4.452 MB / 1.109 GB, free: 11.14 MB / 0.8731 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