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.01445/0.01446, allocations: 98.98 kB / 15.73 MB, free: 6.012 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.00238/0.00238, allocations: 191.1 kB / 16.67 MB, free: 5.934 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.617/1.617, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.238/2.238, allocations: 390.2 MB / 0.6648 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 67.89 kB / 0.9509 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9189/0.9204, allocations: 140.4 MB / 1.088 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003831/0.9242, allocations: 2.256 MB / 1.09 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00182/0.9261, allocations: 0.9394 MB / 1.091 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001411/0.9263, allocations: 1.969 kB / 1.091 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000759/0.9271, allocations: 199.4 kB / 1.091 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001698/0.9273, allocations: 74.72 kB / 1.091 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004899/0.9278, allocations: 111.8 kB / 1.091 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003358/0.9281, allocations: 219.6 kB / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002312/0.9284, allocations: 91.41 kB / 1.092 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.9285, allocations: 85.92 kB / 1.092 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.9286, allocations: 100.9 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.818e-05/0.9287, allocations: 16.97 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003806/0.9291, allocations: 156.7 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002733/0.9294, allocations: 210.2 kB / 1.092 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002047/0.9296, allocations: 264 kB / 1.093 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000952/0.9305, allocations: 0.731 MB / 1.093 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.9306, allocations: 4.75 kB / 1.093 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9306, allocations: 0 / 1.093 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.058e-05/0.9306, allocations: 0 / 1.093 GB, free: 2.156 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.00131/0.9319, allocations: 1.001 MB / 1.094 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.932, allocations: 9.281 kB / 1.094 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006335/0.9326, allocations: 118.6 kB / 1.094 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008379/0.9334, allocations: 0.5984 MB / 1.095 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.9335, allocations: 10.64 kB / 1.095 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.978e-05/0.9335, allocations: 12.06 kB / 1.095 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004354/0.9339, allocations: 193.3 kB / 1.095 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.934, allocations: 0.8438 kB / 1.095 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.364e-05/0.934, allocations: 9.312 kB / 1.095 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.934, allocations: 3.312 kB / 1.095 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000547/0.9346, allocations: 237.4 kB / 1.095 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001426/0.936, allocations: 0.9171 MB / 1.096 GB, free: 220 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007464/0.9368, allocations: 314.8 kB / 1.097 GB, free: 116 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002504/0.937, allocations: 110.4 kB / 1.097 GB, free: 76 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008842/0.9379, allocations: 236.8 kB / 1.097 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.938, allocations: 39.59 kB / 1.097 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=9): time 1.703e-06/0.938, allocations: 0 / 1.097 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of matching and sorting (n=9): time 0.001234/0.9392, allocations: 405.8 kB / 1.097 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.876e-05/0.9393, allocations: 52.53 kB / 1.097 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0024/0.9417, allocations: 0.9965 MB / 1.098 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.514e-05/0.9417, allocations: 29.7 kB / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004499/0.9422, allocations: 345.8 kB / 1.099 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.826e-05/0.9423, allocations: 34.02 kB / 1.099 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.987e-05/0.9424, allocations: 28.38 kB / 1.099 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.9425, allocations: 313 kB / 1.099 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002783/0.9428, allocations: 96.66 kB / 1.099 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003165/0.9431, allocations: 119.8 kB / 1.099 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005548/0.9437, allocations: 217.1 kB / 1.099 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.9437, allocations: 4 kB / 1.099 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006868/0.9444, allocations: 325.5 kB / 1.1 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.9444, allocations: 6 kB / 1.1 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.9444, allocations: 1.703 kB / 1.1 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.9445, allocations: 1.156 kB / 1.1 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/0.9447, allocations: 27.53 kB / 1.1 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.9447, allocations: 5.906 kB / 1.1 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.9449, allocations: 11.23 kB / 1.1 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.9449, allocations: 8.781 kB / 1.1 GB, free: 14.34 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.0003293/0.9452, allocations: 248.3 kB / 1.1 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/0.9454, allocations: 80.91 kB / 1.1 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007215/0.9461, allocations: 333.2 kB / 1.1 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.9461, allocations: 1.281 kB / 1.1 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.9461, allocations: 1.828 kB / 1.1 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.9461, allocations: 0 / 1.1 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009916/0.9471, allocations: 0.533 MB / 1.101 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.9471, allocations: 3.938 kB / 1.101 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001696/0.9473, allocations: 20.77 kB / 1.101 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.9473, allocations: 1.219 kB / 1.101 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.09e-05/0.9474, allocations: 6.484 kB / 1.101 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.9474, allocations: 0.5 kB / 1.101 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.9474, allocations: 0.7188 kB / 1.101 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007877/0.9482, allocations: 415 kB / 1.101 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002879/0.9485, allocations: 185.2 kB / 1.102 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.096e-05/0.9485, allocations: 2.031 kB / 1.102 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001796/0.9487, allocations: 10.62 kB / 1.102 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.294e-05/0.9488, allocations: 5.531 kB / 1.102 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.9488, allocations: 2.984 kB / 1.102 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001018/0.9498, allocations: 0.7169 MB / 1.102 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9498, allocations: 0 / 1.102 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004681/0.9503, allocations: 73.44 kB / 1.102 GB, free: 13 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.000236/0.9506, allocations: 116.9 kB / 1.103 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005421/0.9511, allocations: 216.2 kB / 1.103 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.9511, allocations: 0 / 1.103 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002365/0.9514, allocations: 109 kB / 1.103 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004628/0.9518, allocations: 51.81 kB / 1.103 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002046/0.9539, allocations: 1.179 MB / 1.104 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007968/0.9547, allocations: 0.9447 MB / 1.105 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002407/0.955, allocations: 79.5 kB / 1.105 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.9551, allocations: 37.38 kB / 1.105 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of SimCode: time 5.91e-07/0.9551, allocations: 0 / 1.105 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of Templates: time 0.01384/0.9689, allocations: 4.457 MB / 1.109 GB, free: 11.04 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