Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.0008301/0.0008299, 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.001165/0.001165, allocations: 186 kB / 16.92 MB, free: 6.777 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.34/1.34, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.573/2.573, allocations: 437.8 MB / 0.7128 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000421/0.0004212, allocations: 16 kB / 0.8735 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7434/0.7438, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.003306/0.7472, allocations: 2.405 MB / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001934/0.7491, allocations: 1.062 MB / 1.027 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002592/0.7494, allocations: 4 kB / 1.027 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0006021/0.75, allocations: 196.8 kB / 1.027 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000254/0.7503, allocations: 67.56 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004783/0.7508, allocations: 151.8 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004759/0.7513, allocations: 379.5 kB / 1.028 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003059/0.7516, allocations: 193.8 kB / 1.028 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001592/0.7518, allocations: 111.3 kB / 1.028 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001799/0.7519, allocations: 147.1 kB / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.339e-05/0.752, allocations: 12 kB / 1.028 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002889/0.7523, allocations: 147.8 kB / 1.028 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001903/0.7525, allocations: 215.2 kB / 1.029 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002487/0.7527, allocations: 339.3 kB / 1.029 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006264/0.7534, allocations: 0.7168 MB / 1.03 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.7534, allocations: 0 / 1.03 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7534, allocations: 3.938 kB / 1.03 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.7534, allocations: 3.938 kB / 1.03 GB, free: 9.711 MB / 0.7794 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.001323/0.7547, allocations: 1.011 MB / 1.031 GB, free: 8.645 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.7548, allocations: 8.031 kB / 1.031 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001369/0.7562, allocations: 271.4 kB / 1.031 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001373/0.7576, allocations: 0.7422 MB / 1.032 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.7576, allocations: 25.03 kB / 1.032 GB, free: 7.551 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.018e-05/0.7577, allocations: 32.38 kB / 1.032 GB, free: 7.52 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008901/0.7585, allocations: 394.5 kB / 1.032 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.7586, allocations: 7.938 kB / 1.032 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.333e-05/0.7586, allocations: 8 kB / 1.032 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.7586, allocations: 8 kB / 1.032 GB, free: 7.102 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.7597, allocations: 434.4 kB / 1.033 GB, free: 6.68 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003984/0.7637, allocations: 2.127 MB / 1.035 GB, free: 4.461 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006995/0.7645, allocations: 220.9 kB / 1.035 GB, free: 4.238 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003195/0.7648, allocations: 100.8 kB / 1.035 GB, free: 4.137 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.766e-05/0.7648, allocations: 4 kB / 1.035 GB, free: 4.133 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.7649, allocations: 38.56 kB / 1.035 GB, free: 4.086 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 2.194e-06/0.7649, allocations: 0 / 1.035 GB, free: 4.086 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.001172/0.7661, allocations: 374.2 kB / 1.035 GB, free: 3.715 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.026e-05/0.7661, allocations: 59.41 kB / 1.035 GB, free: 3.645 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001745/0.7679, allocations: 1.239 MB / 1.037 GB, free: 2.383 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.112e-05/0.7679, allocations: 33.7 kB / 1.037 GB, free: 2.344 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004295/0.7683, allocations: 432.1 kB / 1.037 GB, free: 1.914 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.567e-05/0.7684, allocations: 63.33 kB / 1.037 GB, free: 1.852 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-05/0.7685, allocations: 29.7 kB / 1.037 GB, free: 1.816 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.7686, allocations: 314 kB / 1.037 GB, free: 1.504 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003773/0.769, allocations: 151.9 kB / 1.038 GB, free: 1.355 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004157/0.7694, allocations: 213.7 kB / 1.038 GB, free: 1.125 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006979/0.7701, allocations: 283 kB / 1.038 GB, free: 0.832 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.7701, allocations: 0 / 1.038 GB, free: 0.832 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001014/0.7712, allocations: 462.1 kB / 1.038 GB, free: 384 kB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.7712, allocations: 4 kB / 1.038 GB, free: 380 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.7712, allocations: 8.156 kB / 1.038 GB, free: 372 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.7712, allocations: 3.938 kB / 1.038 GB, free: 368 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003296/0.7716, allocations: 59.91 kB / 1.039 GB, free: 308 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.7716, allocations: 4 kB / 1.039 GB, free: 304 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000315/0.7719, allocations: 35.72 kB / 1.039 GB, free: 268 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.7719, allocations: 8 kB / 1.039 GB, free: 260 kB / 0.7794 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.000357/0.7723, allocations: 274.2 kB / 1.039 GB, free: 15.98 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/0.7725, allocations: 86.86 kB / 1.039 GB, free: 15.89 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009319/0.7734, allocations: 325.8 kB / 1.039 GB, free: 15.56 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.7734, allocations: 0 / 1.039 GB, free: 15.56 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.7734, allocations: 3.938 kB / 1.039 GB, free: 15.56 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.7734, allocations: 3.984 kB / 1.039 GB, free: 15.55 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001806/0.7752, allocations: 0.9997 MB / 1.04 GB, free: 14.48 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.7753, allocations: 0 / 1.04 GB, free: 14.48 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002811/0.7755, allocations: 51.89 kB / 1.04 GB, free: 14.43 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.7756, allocations: 4 kB / 1.04 GB, free: 14.43 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.217e-05/0.7756, allocations: 4 kB / 1.04 GB, free: 14.42 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.7756, allocations: 0 / 1.04 GB, free: 14.42 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.7756, allocations: 8.125 kB / 1.04 GB, free: 14.41 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008834/0.7765, allocations: 437 kB / 1.041 GB, free: 13.95 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002652/0.7768, allocations: 211.9 kB / 1.041 GB, free: 13.73 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.925e-05/0.7769, allocations: 15.98 kB / 1.041 GB, free: 13.71 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003004/0.7772, allocations: 15.98 kB / 1.041 GB, free: 13.7 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.853e-05/0.7772, allocations: 19.92 kB / 1.041 GB, free: 13.68 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-05/0.7773, allocations: 11.98 kB / 1.041 GB, free: 13.66 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001166/0.7784, allocations: 0.8989 MB / 1.042 GB, free: 12.75 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7785, allocations: 0 / 1.042 GB, free: 12.75 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0005073/0.779, allocations: 107.8 kB / 1.042 GB, free: 12.65 MB / 0.795 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.0002549/0.7792, allocations: 123.1 kB / 1.042 GB, free: 12.52 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0008142/0.7801, allocations: 275.7 kB / 1.042 GB, free: 12.25 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.7801, allocations: 0 / 1.042 GB, free: 12.25 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003349/0.7804, allocations: 108.5 kB / 1.042 GB, free: 12.14 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006935/0.7811, allocations: 65.39 kB / 1.042 GB, free: 12.08 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002827/0.7839, allocations: 1.69 MB / 1.044 GB, free: 10.34 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000717/0.7847, allocations: 1 MB / 1.045 GB, free: 9.312 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001922/0.7849, allocations: 47.42 kB / 1.045 GB, free: 9.266 MB / 0.795 GB Notification: Performance of SimCode: time 7.21e-07/0.7849, allocations: 0 / 1.045 GB, free: 9.266 MB / 0.795 GB Notification: Performance of Templates: time 0.01456/0.7995, allocations: 8.965 MB / 1.054 GB, free: 328 kB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches