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.000889/0.0008892, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.009041/0.009042, allocations: 174.1 kB / 16.26 MB, free: 6.273 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.477/1.477, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.509/2.509, allocations: 390.9 MB / 0.6663 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003756/0.0003757, allocations: 8 kB / 0.816 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7182/0.7186, allocations: 142.4 MB / 0.955 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.002663/0.7213, allocations: 2.397 MB / 0.9574 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001625/0.7229, allocations: 1.068 MB / 0.9584 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001536/0.7231, allocations: 4.406 kB / 0.9584 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000528/0.7236, allocations: 197.1 kB / 0.9586 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001498/0.7238, allocations: 67.25 kB / 0.9587 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004122/0.7242, allocations: 151.1 kB / 0.9588 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004055/0.7246, allocations: 379.8 kB / 0.9592 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003496/0.725, allocations: 200.2 kB / 0.9594 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001603/0.7252, allocations: 105.8 kB / 0.9595 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001872/0.7253, allocations: 145.6 kB / 0.9596 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.425e-05/0.7254, allocations: 12.38 kB / 0.9596 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003506/0.7258, allocations: 144.5 kB / 0.9598 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001922/0.726, allocations: 225.5 kB / 0.96 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002262/0.7262, allocations: 332.4 kB / 0.9603 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007388/0.7269, allocations: 0.8921 MB / 0.9612 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.727, allocations: 0.7188 kB / 0.9612 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.953e-06/0.727, allocations: 0 / 0.9612 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.176e-05/0.727, allocations: 0 / 0.9612 GB, free: 2.949 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.00125/0.7282, allocations: 1.01 MB / 0.9622 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.7283, allocations: 10.16 kB / 0.9622 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001415/0.7297, allocations: 262 kB / 0.9624 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/0.7311, allocations: 0.7509 MB / 0.9631 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.234e-05/0.7312, allocations: 21.59 kB / 0.9632 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.029e-05/0.7312, allocations: 27.78 kB / 0.9632 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000859/0.7321, allocations: 394.5 kB / 0.9636 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.7321, allocations: 3.938 kB / 0.9636 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.687e-05/0.7322, allocations: 15.19 kB / 0.9636 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.7322, allocations: 7.375 kB / 0.9636 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/0.7332, allocations: 431.1 kB / 0.964 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003974/0.7372, allocations: 2.139 MB / 0.9661 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007337/0.738, allocations: 210.7 kB / 0.9663 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003438/0.7383, allocations: 105.4 kB / 0.9664 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.912e-05/0.7384, allocations: 5.781 kB / 0.9664 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.94e-05/0.7384, allocations: 35.41 kB / 0.9664 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=20): time 1.974e-06/0.7384, allocations: 0 / 0.9664 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20): time 0.001258/0.7397, allocations: 370.9 kB / 0.9668 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.7397, allocations: 57.28 kB / 0.9668 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001884/0.7416, allocations: 1.245 MB / 0.9681 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.848e-05/0.7417, allocations: 31.86 kB / 0.9681 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003964/0.7421, allocations: 442.4 kB / 0.9685 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.291e-05/0.7422, allocations: 63.08 kB / 0.9686 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-05/0.7422, allocations: 28.83 kB / 0.9686 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001986/0.7424, allocations: 316.7 kB / 0.9689 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003508/0.7428, allocations: 147.5 kB / 0.969 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003954/0.7432, allocations: 205.9 kB / 0.9692 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007017/0.7439, allocations: 280.1 kB / 0.9695 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.7439, allocations: 0 / 0.9695 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001083/0.745, allocations: 466.1 kB / 0.97 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.745, allocations: 6.875 kB / 0.97 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.745, allocations: 5.219 kB / 0.97 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.504e-05/0.7451, allocations: 6.719 kB / 0.97 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003408/0.7454, allocations: 54.38 kB / 0.97 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/0.7454, allocations: 2.156 kB / 0.97 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003507/0.7458, allocations: 40.88 kB / 0.9701 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.077e-05/0.7458, allocations: 15.94 kB / 0.9701 GB, free: 12.92 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.0004531/0.7463, allocations: 269.2 kB / 0.9703 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001651/0.7465, allocations: 89.39 kB / 0.9704 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009564/0.7474, allocations: 327.9 kB / 0.9707 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.7475, allocations: 5.938 kB / 0.9707 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.7475, allocations: 1.031 kB / 0.9707 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.7475, allocations: 3.984 kB / 0.9707 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001916/0.7494, allocations: 0.9931 MB / 0.9717 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.7494, allocations: 1.5 kB / 0.9717 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002687/0.7497, allocations: 47.67 kB / 0.9718 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/0.7497, allocations: 3 kB / 0.9718 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.337e-05/0.7497, allocations: 7.969 kB / 0.9718 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.7498, allocations: 2.656 kB / 0.9718 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.7498, allocations: 6.031 kB / 0.9718 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008934/0.7507, allocations: 438.1 kB / 0.9722 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002587/0.7509, allocations: 206.9 kB / 0.9724 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.345e-05/0.751, allocations: 15.67 kB / 0.9724 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002833/0.7513, allocations: 16.8 kB / 0.9724 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.549e-05/0.7514, allocations: 24.2 kB / 0.9724 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.266e-05/0.7514, allocations: 11.39 kB / 0.9725 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001421/0.7528, allocations: 0.8982 MB / 0.9733 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.51e-07/0.7529, allocations: 3.938 kB / 0.9733 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005883/0.7534, allocations: 109.8 kB / 0.9734 GB, free: 10.6 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.0002783/0.7537, allocations: 120.6 kB / 0.9736 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008883/0.7546, allocations: 276.2 kB / 0.9738 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.7546, allocations: 0 / 0.9738 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003343/0.755, allocations: 111.3 kB / 0.9739 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007382/0.7557, allocations: 61.44 kB / 0.974 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002702/0.7584, allocations: 1.644 MB / 0.9756 GB, free: 9.191 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006228/0.7591, allocations: 0.997 MB / 0.9766 GB, free: 8.336 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003888/0.7595, allocations: 99.59 kB / 0.9767 GB, free: 8.293 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.7596, allocations: 44.08 kB / 0.9767 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of SimCode: time 6.52e-07/0.7596, allocations: 0 / 0.9767 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of Templates: time 0.0122/0.7718, allocations: 5.182 MB / 0.9818 GB, free: 3.438 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