Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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.EnergyConversionNormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModBas.PEle|opeModBas.QGen_flow|opeModBas.mWat_flow|opeModBas.TWatIn|opeModBas.mAir_flow|opeModBas.mFue_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModBas.PEle|opeModBas.QGen_flow|opeModBas.mWat_flow|opeModBas.TWatIn|opeModBas.mAir_flow|opeModBas.mFue_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001952/0.001952, allocations: 192.8 kB / 16.25 MB, free: 6.641 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.39/1.39, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.41/2.41, allocations: 390.2 MB / 0.6643 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 71.89 kB / 0.812 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7525/0.754, allocations: 140.3 MB / 0.9491 GB, free: 9.34 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.0035/0.7576, allocations: 2.309 MB / 0.9514 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001284/0.7589, allocations: 0.9208 MB / 0.9523 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.759, allocations: 1.969 kB / 0.9523 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000557/0.7596, allocations: 191.5 kB / 0.9524 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001341/0.7598, allocations: 59.19 kB / 0.9525 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003457/0.7601, allocations: 98.2 kB / 0.9526 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002565/0.7604, allocations: 222.9 kB / 0.9528 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002159/0.7606, allocations: 91.02 kB / 0.9529 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.7607, allocations: 85.14 kB / 0.953 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.7609, allocations: 108.1 kB / 0.9531 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.735e-05/0.7609, allocations: 17.75 kB / 0.9531 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000277/0.7612, allocations: 150.4 kB / 0.9532 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001876/0.7614, allocations: 225 kB / 0.9534 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001823/0.7616, allocations: 265 kB / 0.9537 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007065/0.7623, allocations: 0.7013 MB / 0.9544 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.7623, allocations: 0 / 0.9544 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.944e-06/0.7623, allocations: 1.219 kB / 0.9544 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.249e-05/0.7623, allocations: 0 / 0.9544 GB, free: 5.301 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001137/0.7635, allocations: 0.9753 MB / 0.9553 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.7635, allocations: 13.66 kB / 0.9553 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005527/0.7641, allocations: 117 kB / 0.9555 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006472/0.7647, allocations: 0.5948 MB / 0.956 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.7648, allocations: 9.688 kB / 0.9561 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.7648, allocations: 12.09 kB / 0.9561 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003899/0.7652, allocations: 198.2 kB / 0.9563 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.7652, allocations: 1.281 kB / 0.9563 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.7652, allocations: 9.031 kB / 0.9563 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.7652, allocations: 3.375 kB / 0.9563 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004403/0.7657, allocations: 230.7 kB / 0.9565 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.7668, allocations: 0.9227 MB / 0.9574 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006372/0.7675, allocations: 309.4 kB / 0.9577 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002026/0.7677, allocations: 110.5 kB / 0.9578 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007426/0.7684, allocations: 237.8 kB / 0.958 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.7685, allocations: 36.28 kB / 0.958 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.7685, allocations: 0 / 0.958 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0008497/0.7693, allocations: 405.9 kB / 0.9584 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.7694, allocations: 52.53 kB / 0.9585 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.7705, allocations: 0.9993 MB / 0.9595 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.7706, allocations: 31.05 kB / 0.9595 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002346/0.7708, allocations: 335.4 kB / 0.9598 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.065e-05/0.7708, allocations: 35.06 kB / 0.9598 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.008e-05/0.7709, allocations: 29.92 kB / 0.9599 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.607e-05/0.7709, allocations: 311.1 kB / 0.9602 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001937/0.7711, allocations: 91.48 kB / 0.9603 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002055/0.7714, allocations: 128.2 kB / 0.9604 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003826/0.7717, allocations: 218.1 kB / 0.9606 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.7718, allocations: 0 / 0.9606 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005787/0.7724, allocations: 324.7 kB / 0.9609 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.7724, allocations: 9.562 kB / 0.9609 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.7724, allocations: 0 / 0.9609 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.7724, allocations: 1.219 kB / 0.9609 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.7726, allocations: 26.75 kB / 0.9609 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.7726, allocations: 1.969 kB / 0.9609 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001749/0.7728, allocations: 13.44 kB / 0.9609 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.7728, allocations: 3.875 kB / 0.961 GB, free: 0.7656 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0002351/0.7731, allocations: 257.5 kB / 0.9612 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.912e-05/0.7732, allocations: 75.53 kB / 0.9613 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006121/0.7738, allocations: 331.6 kB / 0.9616 GB, free: 352 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.7738, allocations: 1.406 kB / 0.9616 GB, free: 352 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.7738, allocations: 0.9688 kB / 0.9616 GB, free: 352 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.7738, allocations: 0 / 0.9616 GB, free: 352 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005878/0.7744, allocations: 0.52 MB / 0.9621 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.7744, allocations: 3.938 kB / 0.9621 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/0.7746, allocations: 27.72 kB / 0.9621 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.7746, allocations: 1.125 kB / 0.9621 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.7746, allocations: 1.031 kB / 0.9621 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.7746, allocations: 5.062 kB / 0.9621 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.7746, allocations: 0 / 0.9621 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006033/0.7753, allocations: 406.9 kB / 0.9625 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002184/0.7755, allocations: 185.8 kB / 0.9627 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.031e-05/0.7755, allocations: 1.312 kB / 0.9627 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001787/0.7757, allocations: 8.031 kB / 0.9627 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.451e-05/0.7758, allocations: 10.72 kB / 0.9627 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.7758, allocations: 2.75 kB / 0.9627 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009327/0.7768, allocations: 0.7225 MB / 0.9634 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7768, allocations: 3.938 kB / 0.9634 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003971/0.7772, allocations: 71.31 kB / 0.9635 GB, free: 15.07 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.0002119/0.7774, allocations: 107.4 kB / 0.9636 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005/0.7779, allocations: 225.3 kB / 0.9638 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.7779, allocations: 384 / 0.9638 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002136/0.7781, allocations: 115 kB / 0.9639 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004546/0.7786, allocations: 54 kB / 0.964 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.7805, allocations: 1.328 MB / 0.9653 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005587/0.7811, allocations: 0.9497 MB / 0.9662 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002379/0.7813, allocations: 83.06 kB / 0.9663 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.081e-05/0.7814, allocations: 35.39 kB / 0.9663 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of SimCode: time 4.51e-07/0.7814, allocations: 1.125 kB / 0.9663 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of Templates: time 0.01149/0.7929, allocations: 4.358 MB / 0.9706 GB, free: 10.97 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches