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.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.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.001775/0.001775, allocations: 108 kB / 15.6 MB, free: 132 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.002259/0.002259, allocations: 194.8 kB / 16.53 MB, free: 6.391 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.401/1.401, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.375/2.375, allocations: 390.2 MB / 0.6647 GB, free: 452 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 67.91 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7836/0.7849, allocations: 140.3 MB / 0.9496 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.003495/0.7885, allocations: 2.745 MB / 0.9523 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001483/0.79, allocations: 1.08 MB / 0.9533 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000147/0.7901, allocations: 4 kB / 0.9533 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005519/0.7907, allocations: 220.1 kB / 0.9535 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001472/0.7909, allocations: 88.73 kB / 0.9536 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000431/0.7913, allocations: 178.6 kB / 0.9538 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000328/0.7916, allocations: 398.3 kB / 0.9542 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003177/0.792, allocations: 210.3 kB / 0.9544 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.7921, allocations: 154.9 kB / 0.9545 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001701/0.7923, allocations: 188.8 kB / 0.9547 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.596e-05/0.7924, allocations: 40.31 kB / 0.9547 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003476/0.7927, allocations: 174.1 kB / 0.9549 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002136/0.793, allocations: 257.1 kB / 0.9551 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002224/0.7932, allocations: 349.2 kB / 0.9555 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0008632/0.7941, allocations: 0.9346 MB / 0.9564 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.7941, allocations: 0 / 0.9564 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.946e-06/0.7941, allocations: 1.125 kB / 0.9564 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.248e-05/0.7941, allocations: 3.938 kB / 0.9564 GB, free: 3.863 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.001477/0.7956, allocations: 1.135 MB / 0.9575 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.7956, allocations: 9 kB / 0.9575 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001345/0.797, allocations: 230.4 kB / 0.9577 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001244/0.7982, allocations: 0.7312 MB / 0.9584 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.131e-05/0.7983, allocations: 21.97 kB / 0.9585 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.002e-05/0.7983, allocations: 37.17 kB / 0.9585 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008261/0.7992, allocations: 385.8 kB / 0.9589 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.7992, allocations: 7.875 kB / 0.9589 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.746e-05/0.7992, allocations: 14.56 kB / 0.9589 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/0.7993, allocations: 7.375 kB / 0.9589 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/0.8004, allocations: 417.1 kB / 0.9593 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003268/0.8036, allocations: 1.792 MB / 0.961 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006479/0.8043, allocations: 219.2 kB / 0.9612 GB, free: 400 kB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003002/0.8046, allocations: 97.11 kB / 0.9613 GB, free: 348 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.143e-05/0.8047, allocations: 5.75 kB / 0.9613 GB, free: 348 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.715e-05/0.8047, allocations: 40.06 kB / 0.9614 GB, free: 300 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.953e-06/0.8047, allocations: 0 / 0.9614 GB, free: 300 kB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.001135/0.8058, allocations: 373.3 kB / 0.9617 GB, free: 96 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.8059, allocations: 53.94 kB / 0.9618 GB, free: 32 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001767/0.8076, allocations: 1.245 MB / 0.963 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/0.8077, allocations: 31.48 kB / 0.963 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000389/0.8081, allocations: 434.1 kB / 0.9635 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.589e-05/0.8081, allocations: 74.84 kB / 0.9635 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.8083, allocations: 48.95 kB / 0.9636 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.8084, allocations: 316.5 kB / 0.9639 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003848/0.8088, allocations: 144.1 kB / 0.964 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004337/0.8092, allocations: 198.8 kB / 0.9642 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000703/0.8099, allocations: 287 kB / 0.9645 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.81, allocations: 0 / 0.9645 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009871/0.8109, allocations: 463.4 kB / 0.9649 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.811, allocations: 10.23 kB / 0.9649 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.811, allocations: 2.188 kB / 0.9649 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.811, allocations: 6.344 kB / 0.9649 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003395/0.8114, allocations: 61.97 kB / 0.965 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/0.8114, allocations: 3.281 kB / 0.965 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003331/0.8117, allocations: 39.53 kB / 0.965 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.457e-05/0.8118, allocations: 8.094 kB / 0.965 GB, free: 13.93 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.0003397/0.8121, allocations: 265.8 kB / 0.9653 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.8122, allocations: 85.02 kB / 0.9654 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009195/0.8132, allocations: 324.3 kB / 0.9657 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.8132, allocations: 6.219 kB / 0.9657 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.8132, allocations: 0 / 0.9657 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.8132, allocations: 3.984 kB / 0.9657 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001876/0.8151, allocations: 0.9976 MB / 0.9667 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.8151, allocations: 1.312 kB / 0.9667 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002764/0.8154, allocations: 52.55 kB / 0.9667 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.8154, allocations: 2.25 kB / 0.9667 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/0.8154, allocations: 11.31 kB / 0.9667 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.8154, allocations: 3.094 kB / 0.9667 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.8154, allocations: 5.812 kB / 0.9667 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008198/0.8163, allocations: 447 kB / 0.9672 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002461/0.8165, allocations: 203.2 kB / 0.9674 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.524e-05/0.8166, allocations: 6.719 kB / 0.9674 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002936/0.8169, allocations: 21.41 kB / 0.9674 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.046e-05/0.817, allocations: 28.08 kB / 0.9674 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/0.817, allocations: 6.656 kB / 0.9674 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00117/0.8182, allocations: 0.9027 MB / 0.9683 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.91e-07/0.8182, allocations: 0 / 0.9683 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005319/0.8187, allocations: 105.5 kB / 0.9684 GB, free: 11.61 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.0002526/0.819, allocations: 124.2 kB / 0.9685 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008341/0.8198, allocations: 280.3 kB / 0.9688 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.8199, allocations: 4.125 kB / 0.9688 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003357/0.8202, allocations: 106 kB / 0.9689 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005373/0.8207, allocations: 61.34 kB / 0.969 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002608/0.8234, allocations: 1.399 MB / 0.9703 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000687/0.8241, allocations: 0.9924 MB / 0.9713 GB, free: 9.582 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003913/0.8245, allocations: 95.62 kB / 0.9714 GB, free: 9.543 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.8246, allocations: 48.14 kB / 0.9714 GB, free: 9.527 MB / 0.7325 GB Notification: Performance of SimCode: time 5.11e-07/0.8246, allocations: 4 kB / 0.9714 GB, free: 9.523 MB / 0.7325 GB Notification: Performance of Templates: time 0.01471/0.8393, allocations: 5.494 MB / 0.9768 GB, free: 5.426 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","/var/lib/jenkins/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