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.001278/0.001278, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001412/0.001412, allocations: 197.9 kB / 16.14 MB, free: 6.648 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.391/1.391, allocations: 222.9 MB / 239.8 MB, free: 4.598 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.418/2.418, allocations: 390.2 MB / 0.6642 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 68.14 kB / 0.8119 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7669/0.7689, allocations: 140.4 MB / 0.9489 GB, free: 9.598 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.003061/0.772, allocations: 2.771 MB / 0.9516 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001188/0.7732, allocations: 1.076 MB / 0.9527 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.7733, allocations: 5.438 kB / 0.9527 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000481/0.7738, allocations: 204.3 kB / 0.9529 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001244/0.7739, allocations: 59.22 kB / 0.9529 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002983/0.7743, allocations: 151.8 kB / 0.9531 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002995/0.7746, allocations: 383.1 kB / 0.9534 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002468/0.7748, allocations: 212.6 kB / 0.9536 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.7749, allocations: 134.3 kB / 0.9538 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.7751, allocations: 175.8 kB / 0.9539 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.681e-05/0.7751, allocations: 23.12 kB / 0.954 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002658/0.7754, allocations: 154.9 kB / 0.9541 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001603/0.7756, allocations: 245.3 kB / 0.9543 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001815/0.7758, allocations: 329.5 kB / 0.9547 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005715/0.7763, allocations: 0.9166 MB / 0.9556 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.7763, allocations: 0 / 0.9556 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.283e-06/0.7764, allocations: 1.281 kB / 0.9556 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.467e-06/0.7764, allocations: 3.938 kB / 0.9556 GB, free: 4.477 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.001212/0.7776, allocations: 1.133 MB / 0.9567 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.7776, allocations: 8.531 kB / 0.9567 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001282/0.7789, allocations: 234.1 kB / 0.9569 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/0.7801, allocations: 0.7286 MB / 0.9576 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.7801, allocations: 21.41 kB / 0.9576 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.277e-05/0.7802, allocations: 33 kB / 0.9577 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007072/0.7809, allocations: 377.6 kB / 0.958 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.7809, allocations: 5.031 kB / 0.958 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.055e-05/0.7809, allocations: 18.19 kB / 0.958 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.781, allocations: 8 kB / 0.9581 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009043/0.7819, allocations: 419.3 kB / 0.9585 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002725/0.7846, allocations: 1.789 MB / 0.9602 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006226/0.7852, allocations: 213.4 kB / 0.9604 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002781/0.7855, allocations: 101.8 kB / 0.9605 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.422e-05/0.7856, allocations: 8.406 kB / 0.9605 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.7856, allocations: 35.97 kB / 0.9605 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.724e-06/0.7856, allocations: 0 / 0.9605 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.001015/0.7866, allocations: 375.1 kB / 0.9609 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.7867, allocations: 58.06 kB / 0.961 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001329/0.788, allocations: 1.24 MB / 0.9622 GB, free: 4 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.765e-05/0.7881, allocations: 32.05 kB / 0.9622 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003513/0.7884, allocations: 433.6 kB / 0.9626 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.641e-05/0.7885, allocations: 67.91 kB / 0.9627 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.3e-05/0.7886, allocations: 52.72 kB / 0.9627 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.7887, allocations: 320.2 kB / 0.963 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003321/0.789, allocations: 144.5 kB / 0.9632 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003702/0.7894, allocations: 206.2 kB / 0.9634 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006106/0.79, allocations: 274.4 kB / 0.9636 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.79, allocations: 4 kB / 0.9636 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009935/0.791, allocations: 464.4 kB / 0.9641 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/0.7911, allocations: 6.688 kB / 0.9641 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.7911, allocations: 1.594 kB / 0.9641 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/0.7911, allocations: 11.17 kB / 0.9641 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003406/0.7915, allocations: 62.06 kB / 0.9642 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.7915, allocations: 6.281 kB / 0.9642 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003309/0.7918, allocations: 41.02 kB / 0.9642 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.699e-05/0.7919, allocations: 10.67 kB / 0.9642 GB, free: 14.55 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.0003675/0.7922, allocations: 266.9 kB / 0.9645 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.7924, allocations: 80.19 kB / 0.9645 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000856/0.7932, allocations: 332 kB / 0.9649 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.7932, allocations: 1.75 kB / 0.9649 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.7932, allocations: 1.125 kB / 0.9649 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.7933, allocations: 3.984 kB / 0.9649 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001777/0.795, allocations: 1.001 MB / 0.9658 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.7951, allocations: 1.125 kB / 0.9658 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002637/0.7953, allocations: 48.69 kB / 0.9659 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.7953, allocations: 6.062 kB / 0.9659 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/0.7954, allocations: 8.109 kB / 0.9659 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.7954, allocations: 2.156 kB / 0.9659 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.7954, allocations: 2.062 kB / 0.9659 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007771/0.7962, allocations: 442.7 kB / 0.9663 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002449/0.7964, allocations: 198.6 kB / 0.9665 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.087e-05/0.7965, allocations: 7.938 kB / 0.9665 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002853/0.7968, allocations: 17.05 kB / 0.9665 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.878e-05/0.7969, allocations: 31.5 kB / 0.9666 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/0.7969, allocations: 11.34 kB / 0.9666 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001215/0.7981, allocations: 0.902 MB / 0.9675 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7981, allocations: 0 / 0.9675 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005284/0.7987, allocations: 110.1 kB / 0.9676 GB, free: 12.23 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.000257/0.7989, allocations: 117.8 kB / 0.9677 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007596/0.7997, allocations: 274.3 kB / 0.9679 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.7997, allocations: 0 / 0.9679 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003254/0.8, allocations: 106.2 kB / 0.968 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005374/0.8006, allocations: 65.23 kB / 0.9681 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002511/0.8031, allocations: 1.611 MB / 0.9697 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005726/0.8037, allocations: 0.9977 MB / 0.9707 GB, free: 9.996 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003565/0.8041, allocations: 100.2 kB / 0.9707 GB, free: 9.953 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.8042, allocations: 42.8 kB / 0.9708 GB, free: 9.941 MB / 0.7325 GB Notification: Performance of SimCode: time 4.61e-07/0.8042, allocations: 1.219 kB / 0.9708 GB, free: 9.941 MB / 0.7325 GB Notification: Performance of Templates: time 0.01137/0.8156, allocations: 5.286 MB / 0.976 GB, free: 6.125 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