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.001163/0.001163, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001469/0.001469, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.444/1.444, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.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.361/2.361, allocations: 390.2 MB / 0.6642 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00185/0.001851, allocations: 67.91 kB / 0.8119 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8232/0.8251, allocations: 140.4 MB / 0.9489 GB, free: 9.418 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003294/0.8284, allocations: 2.309 MB / 0.9512 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001295/0.8297, allocations: 0.946 MB / 0.9521 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.619e-05/0.8299, allocations: 2.531 kB / 0.9521 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005599/0.8304, allocations: 184.9 kB / 0.9523 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001112/0.8306, allocations: 54.53 kB / 0.9523 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003181/0.8309, allocations: 89.39 kB / 0.9524 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000238/0.8311, allocations: 223.9 kB / 0.9526 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001846/0.8313, allocations: 80 kB / 0.9527 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.8315, allocations: 76.47 kB / 0.9528 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.8316, allocations: 108.5 kB / 0.9529 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.671e-05/0.8316, allocations: 14.59 kB / 0.9529 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002793/0.8319, allocations: 148.1 kB / 0.953 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001761/0.8321, allocations: 208 kB / 0.9532 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000164/0.8322, allocations: 255 kB / 0.9535 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005476/0.8328, allocations: 0.6962 MB / 0.9542 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.8328, allocations: 0 / 0.9542 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.142e-06/0.8328, allocations: 0 / 0.9542 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.8328, allocations: 1.125 kB / 0.9542 GB, free: 5.406 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001164/0.834, allocations: 0.9708 MB / 0.9551 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.8341, allocations: 13.44 kB / 0.9551 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005886/0.8347, allocations: 120.2 kB / 0.9552 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000685/0.8354, allocations: 0.5894 MB / 0.9558 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.8354, allocations: 9.875 kB / 0.9558 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.8354, allocations: 15.66 kB / 0.9558 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003769/0.8358, allocations: 189.5 kB / 0.956 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.8358, allocations: 1.031 kB / 0.956 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.183e-05/0.8358, allocations: 16.77 kB / 0.956 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.8359, allocations: 10.55 kB / 0.956 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004628/0.8363, allocations: 228.9 kB / 0.9563 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.8374, allocations: 0.9128 MB / 0.9571 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005839/0.838, allocations: 314.5 kB / 0.9574 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001953/0.8382, allocations: 110.1 kB / 0.9576 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006453/0.8389, allocations: 242 kB / 0.9578 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.683e-05/0.8389, allocations: 31.66 kB / 0.9578 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.052e-06/0.8389, allocations: 1.094 kB / 0.9578 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0007715/0.8397, allocations: 405.6 kB / 0.9582 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.8397, allocations: 52.25 kB / 0.9583 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/0.8409, allocations: 0.9962 MB / 0.9592 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.8409, allocations: 25.7 kB / 0.9592 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002397/0.8412, allocations: 343.7 kB / 0.9596 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/0.8412, allocations: 35.23 kB / 0.9596 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.665e-05/0.8412, allocations: 30.14 kB / 0.9596 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.755e-05/0.8413, allocations: 308 kB / 0.9599 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/0.8415, allocations: 94.39 kB / 0.96 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002079/0.8417, allocations: 128.2 kB / 0.9601 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003687/0.8421, allocations: 213.1 kB / 0.9603 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.8421, allocations: 0 / 0.9603 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005242/0.8427, allocations: 326.6 kB / 0.9607 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.8427, allocations: 5.469 kB / 0.9607 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.8427, allocations: 4.062 kB / 0.9607 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.8427, allocations: 1.281 kB / 0.9607 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.8429, allocations: 27.41 kB / 0.9607 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.8429, allocations: 1.062 kB / 0.9607 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001733/0.8431, allocations: 17.34 kB / 0.9607 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.8431, allocations: 7.266 kB / 0.9607 GB, free: 0.8711 MB / 0.7169 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.0002156/0.8433, allocations: 245.6 kB / 0.961 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.742e-05/0.8434, allocations: 79.59 kB / 0.961 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005967/0.844, allocations: 332.7 kB / 0.9613 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.844, allocations: 0.8438 kB / 0.9613 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.844, allocations: 0 / 0.9613 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.8441, allocations: 1.125 kB / 0.9614 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005124/0.8446, allocations: 0.5271 MB / 0.9619 GB, free: 44 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.8446, allocations: 7.922 kB / 0.9619 GB, free: 36 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/0.8447, allocations: 23.58 kB / 0.9619 GB, free: 28 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.8448, allocations: 1.312 kB / 0.9619 GB, free: 28 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.8448, allocations: 5.25 kB / 0.9619 GB, free: 24 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.8448, allocations: 5.344 kB / 0.9619 GB, free: 20 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.8448, allocations: 0 / 0.9619 GB, free: 20 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000625/0.8454, allocations: 406.2 kB / 0.9623 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002176/0.8456, allocations: 189.9 kB / 0.9625 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.037e-05/0.8457, allocations: 1.031 kB / 0.9625 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.8459, allocations: 8.453 kB / 0.9625 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.8459, allocations: 2.594 kB / 0.9625 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.846, allocations: 6.531 kB / 0.9625 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009488/0.8469, allocations: 0.719 MB / 0.9632 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8469, allocations: 4 kB / 0.9632 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004027/0.8473, allocations: 68.16 kB / 0.9633 GB, free: 15.18 MB / 0.7325 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.0002052/0.8476, allocations: 119.5 kB / 0.9634 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005015/0.8481, allocations: 208.4 kB / 0.9636 GB, free: 15 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.8481, allocations: 4 kB / 0.9636 GB, free: 15 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002346/0.8483, allocations: 111.4 kB / 0.9637 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004562/0.8488, allocations: 50.84 kB / 0.9637 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/0.8506, allocations: 1.323 MB / 0.965 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005506/0.8512, allocations: 0.9569 MB / 0.966 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002315/0.8514, allocations: 83.47 kB / 0.966 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.846e-05/0.8515, allocations: 34.78 kB / 0.9661 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of SimCode: time 3e-07/0.8515, allocations: 0 / 0.9661 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of Templates: time 0.01051/0.862, allocations: 4.227 MB / 0.9702 GB, free: 11.15 MB / 0.7325 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