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.001012/0.001012, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001119/0.001118, allocations: 182.2 kB / 16.92 MB, free: 6.918 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.395/1.395, allocations: 223.2 MB / 241 MB, free: 5.359 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.352/2.352, allocations: 390.9 MB / 0.667 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003342/0.0003342, allocations: 8 kB / 0.8166 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7203/0.7207, allocations: 142.4 MB / 0.9557 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.002518/0.7233, allocations: 2.401 MB / 0.9581 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001414/0.7247, allocations: 1.062 MB / 0.9591 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001417/0.7249, allocations: 4.125 kB / 0.9591 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005092/0.7254, allocations: 200.5 kB / 0.9593 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001474/0.7255, allocations: 63.69 kB / 0.9593 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003643/0.7259, allocations: 154.8 kB / 0.9595 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003203/0.7262, allocations: 375.5 kB / 0.9599 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002725/0.7265, allocations: 197.4 kB / 0.96 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.7266, allocations: 101.1 kB / 0.9601 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.7268, allocations: 153.2 kB / 0.9603 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.347e-05/0.7268, allocations: 12.38 kB / 0.9603 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002669/0.7271, allocations: 144.5 kB / 0.9604 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001685/0.7273, allocations: 222.1 kB / 0.9606 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001811/0.7275, allocations: 337 kB / 0.961 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005155/0.728, allocations: 0.7238 MB / 0.9617 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.728, allocations: 0 / 0.9617 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.734e-06/0.728, allocations: 1 kB / 0.9617 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.999e-06/0.728, allocations: 0 / 0.9617 GB, free: 3.176 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.001161/0.7292, allocations: 0.9991 MB / 0.9626 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.7293, allocations: 9.344 kB / 0.9627 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001343/0.7306, allocations: 266.7 kB / 0.9629 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/0.7319, allocations: 0.742 MB / 0.9636 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.944e-05/0.732, allocations: 26.34 kB / 0.9637 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.318e-05/0.732, allocations: 32.22 kB / 0.9637 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008169/0.7329, allocations: 393.5 kB / 0.9641 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.7329, allocations: 12.81 kB / 0.9641 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.32e-05/0.7329, allocations: 10.44 kB / 0.9641 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.7329, allocations: 7.531 kB / 0.9641 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.734, allocations: 431.3 kB / 0.9645 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003675/0.7376, allocations: 2.147 MB / 0.9666 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006834/0.7383, allocations: 214.7 kB / 0.9668 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003191/0.7387, allocations: 101.9 kB / 0.9669 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.67e-05/0.7387, allocations: 5.312 kB / 0.9669 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.7387, allocations: 36.53 kB / 0.9669 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=20): time 1.934e-06/0.7388, allocations: 0 / 0.9669 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20): time 0.001181/0.7399, allocations: 370.5 kB / 0.9673 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.74, allocations: 53.94 kB / 0.9674 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001656/0.7417, allocations: 1.249 MB / 0.9686 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.709e-05/0.7417, allocations: 30.64 kB / 0.9686 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004062/0.7421, allocations: 434.6 kB / 0.969 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.125e-05/0.7422, allocations: 67.52 kB / 0.9691 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.223e-05/0.7422, allocations: 27.89 kB / 0.9691 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.7424, allocations: 317 kB / 0.9694 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003572/0.7427, allocations: 147.6 kB / 0.9695 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003801/0.7431, allocations: 202.7 kB / 0.9697 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000679/0.7438, allocations: 274.3 kB / 0.97 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.7438, allocations: 1.469 kB / 0.97 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000964/0.7448, allocations: 461.4 kB / 0.9704 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.7448, allocations: 6.062 kB / 0.9705 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.7448, allocations: 5 kB / 0.9705 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.7449, allocations: 7.094 kB / 0.9705 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003242/0.7452, allocations: 58.5 kB / 0.9705 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.7452, allocations: 6.547 kB / 0.9705 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003066/0.7455, allocations: 35.97 kB / 0.9706 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.7456, allocations: 8.25 kB / 0.9706 GB, free: 13.16 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (opeModWarUpEngTem.temChe.y,$PRE.opeModWarUpEngTem.temChe.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0003164/0.7459, allocations: 277 kB / 0.9708 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.746, allocations: 84.75 kB / 0.9709 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008901/0.7469, allocations: 336.7 kB / 0.9712 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/0.7469, allocations: 2.312 kB / 0.9712 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.7469, allocations: 0 / 0.9712 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.7469, allocations: 4.922 kB / 0.9712 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001759/0.7487, allocations: 0.9891 MB / 0.9722 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.7487, allocations: 2.219 kB / 0.9722 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002698/0.749, allocations: 52.17 kB / 0.9723 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.249e-06/0.749, allocations: 2 kB / 0.9723 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.749, allocations: 3.594 kB / 0.9723 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.749, allocations: 2.938 kB / 0.9723 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.7491, allocations: 14.56 kB / 0.9723 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008251/0.7499, allocations: 440.5 kB / 0.9727 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002519/0.7501, allocations: 210.6 kB / 0.9729 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.491e-05/0.7502, allocations: 7 kB / 0.9729 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002906/0.7505, allocations: 17.02 kB / 0.9729 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.038e-05/0.7506, allocations: 25.17 kB / 0.9729 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/0.7506, allocations: 9.141 kB / 0.973 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001216/0.7518, allocations: 0.9032 MB / 0.9738 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7519, allocations: 0 / 0.9738 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004992/0.7524, allocations: 109.9 kB / 0.9739 GB, free: 10.83 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (opeModWarUpEngTem.temChe.y) * Number of discrete states: 1 (opeModWarUpEngTem.temChe.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0002334/0.7526, allocations: 113.5 kB / 0.9741 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007881/0.7534, allocations: 276.5 kB / 0.9743 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.7534, allocations: 3.938 kB / 0.9743 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000324/0.7537, allocations: 107.8 kB / 0.9744 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007022/0.7545, allocations: 68.31 kB / 0.9745 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002676/0.7571, allocations: 1.698 MB / 0.9761 GB, free: 9.367 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006212/0.7578, allocations: 1.005 MB / 0.9771 GB, free: 8.504 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001827/0.758, allocations: 46.58 kB / 0.9772 GB, free: 8.492 MB / 0.7325 GB Notification: Performance of SimCode: time 2.91e-07/0.758, allocations: 0 / 0.9772 GB, free: 8.492 MB / 0.7325 GB Notification: Performance of Templates: time 0.01383/0.7718, allocations: 8.96 MB / 0.9859 GB, free: 15.82 MB / 0.7481 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches