Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0009342/0.0009343, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.491/2.491, allocations: 390.3 MB / 0.6653 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004489/0.0004489, allocations: 15.98 kB / 0.8145 GB, free: 14.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7894/0.7898, allocations: 142.3 MB / 0.9535 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.002989/0.7929, allocations: 2.269 MB / 0.9557 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001983/0.7949, allocations: 0.9771 MB / 0.9567 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000208/0.7951, allocations: 3.906 kB / 0.9567 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004925/0.7956, allocations: 195.6 kB / 0.9569 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001778/0.7958, allocations: 78.44 kB / 0.9569 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004258/0.7962, allocations: 117 kB / 0.9571 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003641/0.7966, allocations: 264.1 kB / 0.9573 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002954/0.7969, allocations: 165 kB / 0.9575 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.7971, allocations: 103.3 kB / 0.9576 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001763/0.7973, allocations: 141.5 kB / 0.9577 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.675e-05/0.7973, allocations: 7.875 kB / 0.9577 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003255/0.7976, allocations: 134.7 kB / 0.9578 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001883/0.7978, allocations: 189 kB / 0.958 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.798, allocations: 147.1 kB / 0.9582 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006631/0.7986, allocations: 0.6754 MB / 0.9588 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.7986, allocations: 0 / 0.9588 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.856e-06/0.7987, allocations: 0 / 0.9588 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.199e-05/0.7987, allocations: 0 / 0.9588 GB, free: 4.055 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001348/0.8, allocations: 0.9972 MB / 0.9598 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.8001, allocations: 8.5 kB / 0.9598 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001373/0.8015, allocations: 273.2 kB / 0.9601 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001949/0.8034, allocations: 0.952 MB / 0.961 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.321e-05/0.8035, allocations: 29.19 kB / 0.961 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.721e-05/0.8035, allocations: 28.28 kB / 0.961 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007833/0.8043, allocations: 330.7 kB / 0.9614 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.8043, allocations: 5 kB / 0.9614 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.225e-05/0.8044, allocations: 15 kB / 0.9614 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.8044, allocations: 10.94 kB / 0.9614 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009143/0.8053, allocations: 317.1 kB / 0.9617 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002326/0.8077, allocations: 1.431 MB / 0.9631 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004844/0.8082, allocations: 160.4 kB / 0.9632 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.262e-05/0.8082, allocations: 3.594 kB / 0.9632 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.8082, allocations: 35.53 kB / 0.9633 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 2.074e-06/0.8082, allocations: 0 / 0.9633 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0006247/0.8089, allocations: 252.8 kB / 0.9635 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/0.8089, allocations: 54.03 kB / 0.9636 GB, free: 448 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009868/0.8099, allocations: 0.8426 MB / 0.9644 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.156e-05/0.8099, allocations: 25.7 kB / 0.9644 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000417/0.8104, allocations: 455.9 kB / 0.9649 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.996e-05/0.8104, allocations: 50.91 kB / 0.9649 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.216e-05/0.8104, allocations: 5.031 kB / 0.9649 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.8106, allocations: 316 kB / 0.9652 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/0.8108, allocations: 55.27 kB / 0.9653 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002498/0.811, allocations: 172.8 kB / 0.9654 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.8112, allocations: 74.52 kB / 0.9655 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.8112, allocations: 2.062 kB / 0.9655 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006061/0.8119, allocations: 316.1 kB / 0.9658 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.8119, allocations: 6.781 kB / 0.9658 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.8119, allocations: 4.219 kB / 0.9658 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.8119, allocations: 9.375 kB / 0.9658 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003018/0.8122, allocations: 74.44 kB / 0.9659 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/0.8123, allocations: 5.562 kB / 0.9659 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002498/0.8125, allocations: 30.16 kB / 0.9659 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.925e-05/0.8126, allocations: 11.75 kB / 0.9659 GB, free: 14.7 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.opeModWarUpEngTem.temChe.y,opeModWarUpEngTem.temChe.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004238/0.813, allocations: 270.4 kB / 0.9662 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.8131, allocations: 84.06 kB / 0.9663 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005989/0.8137, allocations: 227.5 kB / 0.9665 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.8138, allocations: 6.062 kB / 0.9665 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.8138, allocations: 9.047 kB / 0.9665 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.8138, allocations: 3.984 kB / 0.9665 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001378/0.8152, allocations: 0.7245 MB / 0.9672 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.8152, allocations: 5.031 kB / 0.9672 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001878/0.8154, allocations: 37.23 kB / 0.9673 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.908e-06/0.8154, allocations: 5.953 kB / 0.9673 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.8154, allocations: 6.125 kB / 0.9673 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.732e-06/0.8154, allocations: 5.047 kB / 0.9673 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.8154, allocations: 1.125 kB / 0.9673 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005516/0.816, allocations: 355.4 kB / 0.9676 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001906/0.8162, allocations: 153.8 kB / 0.9678 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.756e-05/0.8163, allocations: 13.97 kB / 0.9678 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.8164, allocations: 16.23 kB / 0.9678 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.927e-05/0.8165, allocations: 9.297 kB / 0.9678 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.8165, allocations: 8.969 kB / 0.9678 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009162/0.8174, allocations: 0.5872 MB / 0.9684 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.4e-07/0.8175, allocations: 0 / 0.9684 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004808/0.8179, allocations: 79.14 kB / 0.9685 GB, free: 12.84 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002055/0.8181, allocations: 112.9 kB / 0.9686 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004533/0.8186, allocations: 149.1 kB / 0.9687 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.8186, allocations: 1 kB / 0.9687 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.8188, allocations: 57.5 kB / 0.9688 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.8191, allocations: 53.55 kB / 0.9688 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002365/0.8215, allocations: 1.456 MB / 0.9702 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007652/0.8223, allocations: 1.013 MB / 0.9712 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003945/0.8227, allocations: 88.14 kB / 0.9713 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.094e-05/0.8228, allocations: 37.75 kB / 0.9713 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of SimCode: time 1.212e-06/0.8228, allocations: 4 kB / 0.9713 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of Templates: time 0.008703/0.8315, allocations: 2.35 MB / 0.9736 GB, free: 9.621 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches