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.00129/0.00129, allocations: 105.5 kB / 16.41 MB, free: 6.52 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.001405/0.001406, allocations: 187 kB / 17.34 MB, free: 5.738 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.16 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.485/2.485, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 67.91 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8295/0.8309, allocations: 151.6 MB / 1.167 GB, free: 3.969 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003228/0.8342, allocations: 2.27 MB / 1.17 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001257/0.8355, allocations: 0.9408 MB / 1.17 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.495e-05/0.8356, allocations: 0 / 1.17 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0004736/0.8361, allocations: 194.9 kB / 1.171 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001219/0.8362, allocations: 63.45 kB / 1.171 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003357/0.8366, allocations: 123.7 kB / 1.171 GB, free: 380 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002382/0.8368, allocations: 219.1 kB / 1.171 GB, free: 160 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/0.837, allocations: 89.69 kB / 1.171 GB, free: 68 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.8371, allocations: 91.5 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.8372, allocations: 95.44 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.085e-05/0.8373, allocations: 24 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002661/0.8376, allocations: 147.8 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001584/0.8377, allocations: 219.3 kB / 1.172 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001742/0.8379, allocations: 262.1 kB / 1.172 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006478/0.8386, allocations: 0.7279 MB / 1.173 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.8386, allocations: 0 / 1.173 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.704e-06/0.8386, allocations: 0 / 1.173 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.847e-06/0.8386, allocations: 0 / 1.173 GB, free: 14.52 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.001169/0.8398, allocations: 1.002 MB / 1.174 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.8398, allocations: 12.92 kB / 1.174 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005547/0.8404, allocations: 128.2 kB / 1.174 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006953/0.8411, allocations: 0.5942 MB / 1.174 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.8411, allocations: 12.38 kB / 1.174 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.8411, allocations: 12.38 kB / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003705/0.8415, allocations: 202.1 kB / 1.175 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.8415, allocations: 192 / 1.175 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.426e-05/0.8416, allocations: 11.88 kB / 1.175 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.8416, allocations: 4 kB / 1.175 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000423/0.842, allocations: 223.9 kB / 1.175 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.8431, allocations: 0.9217 MB / 1.176 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006418/0.8437, allocations: 314.6 kB / 1.176 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002069/0.8439, allocations: 100.8 kB / 1.176 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006989/0.8446, allocations: 244.8 kB / 1.176 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.8447, allocations: 38.55 kB / 1.176 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.8447, allocations: 4 kB / 1.176 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.0007909/0.8455, allocations: 401 kB / 1.177 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.8455, allocations: 51.41 kB / 1.177 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.8466, allocations: 0.9974 MB / 1.178 GB, free: 9.059 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.8466, allocations: 29.7 kB / 1.178 GB, free: 9.023 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002652/0.8469, allocations: 348 kB / 1.178 GB, free: 8.676 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/0.847, allocations: 31.73 kB / 1.178 GB, free: 8.645 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.348e-05/0.847, allocations: 29.72 kB / 1.178 GB, free: 8.609 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.8471, allocations: 314 kB / 1.178 GB, free: 8.297 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/0.8473, allocations: 91.95 kB / 1.179 GB, free: 8.207 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000228/0.8476, allocations: 122.5 kB / 1.179 GB, free: 8.078 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003856/0.848, allocations: 222.7 kB / 1.179 GB, free: 7.852 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.848, allocations: 0 / 1.179 GB, free: 7.852 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005287/0.8485, allocations: 332.9 kB / 1.179 GB, free: 7.52 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.8485, allocations: 8 kB / 1.179 GB, free: 7.512 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.8485, allocations: 0 / 1.179 GB, free: 7.512 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.8486, allocations: 0 / 1.179 GB, free: 7.512 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.8487, allocations: 31.98 kB / 1.179 GB, free: 7.48 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.862e-06/0.8488, allocations: 0 / 1.179 GB, free: 7.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/0.8489, allocations: 19.92 kB / 1.179 GB, free: 7.461 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.8489, allocations: 0 / 1.179 GB, free: 7.461 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.0002473/0.8492, allocations: 253.7 kB / 1.179 GB, free: 7.203 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.029e-05/0.8493, allocations: 79.47 kB / 1.18 GB, free: 7.125 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006002/0.8499, allocations: 332.5 kB / 1.18 GB, free: 6.793 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.8499, allocations: 0 / 1.18 GB, free: 6.793 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.8499, allocations: 0 / 1.18 GB, free: 6.793 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.8499, allocations: 3.938 kB / 1.18 GB, free: 6.789 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005207/0.8504, allocations: 0.5324 MB / 1.18 GB, free: 6.207 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.8505, allocations: 7.938 kB / 1.18 GB, free: 6.199 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001501/0.8506, allocations: 19.98 kB / 1.18 GB, free: 6.18 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.8506, allocations: 0 / 1.18 GB, free: 6.18 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.8506, allocations: 0 / 1.18 GB, free: 6.18 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.8506, allocations: 3.984 kB / 1.18 GB, free: 6.176 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.8507, allocations: 8 kB / 1.18 GB, free: 6.168 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005486/0.8512, allocations: 403.1 kB / 1.181 GB, free: 5.758 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001893/0.8514, allocations: 184.6 kB / 1.181 GB, free: 5.559 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.899e-05/0.8515, allocations: 3.938 kB / 1.181 GB, free: 5.555 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/0.8517, allocations: 15.98 kB / 1.181 GB, free: 5.539 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/0.8517, allocations: 7.984 kB / 1.181 GB, free: 5.531 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.8517, allocations: 4 kB / 1.181 GB, free: 5.527 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0007896/0.8525, allocations: 0.7137 MB / 1.182 GB, free: 4.816 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8525, allocations: 0 / 1.182 GB, free: 4.816 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003474/0.8529, allocations: 75.88 kB / 1.182 GB, free: 4.742 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.0002199/0.8531, allocations: 111.2 kB / 1.182 GB, free: 4.621 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004763/0.8536, allocations: 219.8 kB / 1.182 GB, free: 4.406 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.8536, allocations: 0 / 1.182 GB, free: 4.406 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002043/0.8538, allocations: 112 kB / 1.182 GB, free: 4.297 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004049/0.8542, allocations: 55.23 kB / 1.182 GB, free: 4.246 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/0.8559, allocations: 1.236 MB / 1.183 GB, free: 2.973 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005042/0.8564, allocations: 0.9362 MB / 1.184 GB, free: 2.012 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.8565, allocations: 43.42 kB / 1.184 GB, free: 1.969 MB / 0.9044 GB Notification: Performance of SimCode: time 3.7e-07/0.8566, allocations: 4 kB / 1.184 GB, free: 1.965 MB / 0.9044 GB Notification: Performance of Templates: time 0.009978/0.8665, allocations: 7.231 MB / 1.191 GB, free: 10.76 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 -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