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.00138/0.00138, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00188/0.00188, allocations: 190.9 kB / 16.25 MB, free: 6.586 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.483/1.483, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.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.709/2.709, allocations: 437 MB / 0.71 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 67.91 kB / 0.8687 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7247/0.7259, allocations: 151.6 MB / 1.017 GB, free: 2.852 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003465/0.7295, allocations: 2.316 MB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001345/0.7308, allocations: 0.9216 MB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.731, allocations: 0 / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000552/0.7315, allocations: 185 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001448/0.7317, allocations: 59.62 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003339/0.732, allocations: 103.8 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000268/0.7323, allocations: 223.1 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001924/0.7325, allocations: 89.67 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.7327, allocations: 87.58 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.7328, allocations: 111.4 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.021e-05/0.7329, allocations: 16 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002929/0.7332, allocations: 147.8 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001869/0.7333, allocations: 211.4 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002165/0.7336, allocations: 266 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007306/0.7343, allocations: 0.712 MB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.7343, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.054e-06/0.7343, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.052e-05/0.7344, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 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.001347/0.7357, allocations: 0.9786 MB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.7358, allocations: 8.031 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005785/0.7363, allocations: 115.8 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007253/0.7371, allocations: 0.5934 MB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.7371, allocations: 8.375 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.7371, allocations: 12.38 kB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003726/0.7375, allocations: 198.1 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.7375, allocations: 192 / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.7376, allocations: 7.938 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.7376, allocations: 8 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004393/0.738, allocations: 223.9 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/0.7392, allocations: 0.9216 MB / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006803/0.7399, allocations: 310.6 kB / 1.025 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/0.7401, allocations: 108.8 kB / 1.025 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006708/0.7408, allocations: 244.9 kB / 1.026 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.7409, allocations: 38.5 kB / 1.026 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.7409, allocations: 3.938 kB / 1.026 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0007572/0.7416, allocations: 396.6 kB / 1.026 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.7417, allocations: 59.41 kB / 1.026 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/0.7429, allocations: 0.9935 MB / 1.027 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.7429, allocations: 25.7 kB / 1.027 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002782/0.7432, allocations: 352 kB / 1.028 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.974e-05/0.7432, allocations: 31.55 kB / 1.028 GB, free: 7.582 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.285e-05/0.7433, allocations: 25.72 kB / 1.028 GB, free: 7.551 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.7434, allocations: 314 kB / 1.028 GB, free: 7.238 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002595/0.7437, allocations: 95.95 kB / 1.028 GB, free: 7.145 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002072/0.7439, allocations: 122.5 kB / 1.028 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003891/0.7443, allocations: 214.4 kB / 1.028 GB, free: 6.797 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.7443, allocations: 0 / 1.028 GB, free: 6.797 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005697/0.7449, allocations: 328.5 kB / 1.029 GB, free: 6.469 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.7449, allocations: 4 kB / 1.029 GB, free: 6.465 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.7449, allocations: 0 / 1.029 GB, free: 6.465 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.7449, allocations: 7.938 kB / 1.029 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.7451, allocations: 20.45 kB / 1.029 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.7451, allocations: 4 kB / 1.029 GB, free: 6.434 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001613/0.7453, allocations: 15.83 kB / 1.029 GB, free: 6.418 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.7453, allocations: 8.062 kB / 1.029 GB, free: 6.41 MB / 0.7794 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.0002526/0.7456, allocations: 250.3 kB / 1.029 GB, free: 6.156 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.927e-05/0.7456, allocations: 78.94 kB / 1.029 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006507/0.7463, allocations: 328.4 kB / 1.029 GB, free: 5.75 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.7463, allocations: 4 kB / 1.029 GB, free: 5.746 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.7463, allocations: 0 / 1.029 GB, free: 5.746 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.7463, allocations: 3.984 kB / 1.029 GB, free: 5.742 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005251/0.7469, allocations: 0.5247 MB / 1.03 GB, free: 5.168 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.7469, allocations: 3.938 kB / 1.03 GB, free: 5.164 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001551/0.747, allocations: 27.92 kB / 1.03 GB, free: 5.137 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.7471, allocations: 0 / 1.03 GB, free: 5.137 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.7471, allocations: 11.92 kB / 1.03 GB, free: 5.125 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.7471, allocations: 0 / 1.03 GB, free: 5.125 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.7471, allocations: 0 / 1.03 GB, free: 5.125 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005595/0.7477, allocations: 406.4 kB / 1.03 GB, free: 4.711 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002118/0.7479, allocations: 184 kB / 1.03 GB, free: 4.512 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.645e-05/0.7479, allocations: 7.984 kB / 1.03 GB, free: 4.504 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.7481, allocations: 4 kB / 1.03 GB, free: 4.5 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/0.7482, allocations: 11.98 kB / 1.03 GB, free: 4.488 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-06/0.7482, allocations: 4 kB / 1.03 GB, free: 4.484 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0009379/0.7491, allocations: 0.7176 MB / 1.031 GB, free: 3.773 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7491, allocations: 0 / 1.031 GB, free: 3.773 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000374/0.7495, allocations: 64 kB / 1.031 GB, free: 3.711 MB / 0.7794 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.7498, allocations: 113.9 kB / 1.031 GB, free: 3.594 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005202/0.7503, allocations: 224 kB / 1.032 GB, free: 3.375 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.7503, allocations: 0 / 1.032 GB, free: 3.375 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002112/0.7505, allocations: 112.1 kB / 1.032 GB, free: 3.266 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004398/0.751, allocations: 54.34 kB / 1.032 GB, free: 3.211 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.7527, allocations: 1.334 MB / 1.033 GB, free: 1.852 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005039/0.7532, allocations: 0.9373 MB / 1.034 GB, free: 0.8906 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002147/0.7534, allocations: 81.33 kB / 1.034 GB, free: 0.8086 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.572e-05/0.7535, allocations: 35.44 kB / 1.034 GB, free: 0.7734 MB / 0.7794 GB Notification: Performance of SimCode: time 3.91e-07/0.7535, allocations: 0 / 1.034 GB, free: 0.7734 MB / 0.7794 GB Notification: Performance of Templates: time 0.01005/0.7636, allocations: 4.357 MB / 1.038 GB, free: 12.42 MB / 0.795 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 -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/jenkins/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