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.001518/0.001518, 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.001858/0.001858, allocations: 193.9 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.478/1.478, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.403/2.403, allocations: 390.2 MB / 0.6646 GB, free: 468 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001532, allocations: 67.91 kB / 0.8125 GB, free: 14.48 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8878/0.8894, allocations: 140.3 MB / 0.9496 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003411/0.8928, allocations: 2.261 MB / 0.9518 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001186/0.894, allocations: 0.9418 MB / 0.9527 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.474e-05/0.8942, allocations: 5.812 kB / 0.9527 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004929/0.8947, allocations: 200.8 kB / 0.9529 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.986e-05/0.8948, allocations: 67.62 kB / 0.953 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003142/0.8951, allocations: 109 kB / 0.9531 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002411/0.8953, allocations: 227.3 kB / 0.9533 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001893/0.8955, allocations: 92.44 kB / 0.9534 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.8957, allocations: 79.19 kB / 0.9535 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.8958, allocations: 104.4 kB / 0.9536 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.91e-05/0.8958, allocations: 17.69 kB / 0.9536 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002844/0.8961, allocations: 150.5 kB / 0.9537 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001617/0.8963, allocations: 211.6 kB / 0.9539 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001721/0.8964, allocations: 266.6 kB / 0.9542 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005595/0.897, allocations: 0.7088 MB / 0.9549 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.897, allocations: 4 kB / 0.9549 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.443e-06/0.897, allocations: 0 / 0.9549 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.732e-05/0.8971, allocations: 1.219 kB / 0.9549 GB, free: 5.094 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.001091/0.8981, allocations: 0.972 MB / 0.9558 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.8982, allocations: 8.562 kB / 0.9558 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005201/0.8987, allocations: 125.9 kB / 0.9559 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007184/0.8994, allocations: 0.5887 MB / 0.9565 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.8995, allocations: 7.156 kB / 0.9565 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.343e-05/0.8995, allocations: 12.41 kB / 0.9565 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004137/0.8999, allocations: 203.2 kB / 0.9567 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.9, allocations: 192 / 0.9567 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.018e-05/0.9, allocations: 9.219 kB / 0.9567 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.9, allocations: 6.562 kB / 0.9567 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004464/0.9004, allocations: 223.8 kB / 0.957 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.9015, allocations: 0.9135 MB / 0.9578 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006561/0.9021, allocations: 323.2 kB / 0.9582 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002185/0.9024, allocations: 105.6 kB / 0.9583 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007562/0.9031, allocations: 242.5 kB / 0.9585 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.9032, allocations: 31.47 kB / 0.9585 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.9032, allocations: 0 / 0.9585 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0008238/0.904, allocations: 406.5 kB / 0.9589 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.357e-05/0.904, allocations: 52.38 kB / 0.959 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001237/0.9053, allocations: 0.9961 MB / 0.9599 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.9053, allocations: 25.7 kB / 0.96 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002672/0.9056, allocations: 339.8 kB / 0.9603 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/0.9056, allocations: 31.7 kB / 0.9603 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.32e-05/0.9057, allocations: 33.8 kB / 0.9603 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.825e-05/0.9057, allocations: 315.1 kB / 0.9606 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000204/0.9059, allocations: 95.05 kB / 0.9607 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/0.9062, allocations: 120 kB / 0.9608 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003752/0.9065, allocations: 217.2 kB / 0.9611 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.9066, allocations: 0 / 0.9611 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005201/0.9071, allocations: 329.9 kB / 0.9614 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.9071, allocations: 5.25 kB / 0.9614 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.9071, allocations: 5.156 kB / 0.9614 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.9071, allocations: 1.312 kB / 0.9614 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.9073, allocations: 31.31 kB / 0.9614 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.9073, allocations: 0 / 0.9614 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/0.9075, allocations: 18.66 kB / 0.9614 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.9075, allocations: 2.844 kB / 0.9614 GB, free: 0.5586 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.0002154/0.9077, allocations: 249.5 kB / 0.9617 GB, free: 376 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.412e-05/0.9078, allocations: 75.38 kB / 0.9617 GB, free: 332 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006156/0.9085, allocations: 328.3 kB / 0.9621 GB, free: 152 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.9085, allocations: 5.094 kB / 0.9621 GB, free: 148 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.9085, allocations: 1.094 kB / 0.9621 GB, free: 148 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.9085, allocations: 0 / 0.9621 GB, free: 148 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005929/0.9091, allocations: 0.5197 MB / 0.9626 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.9091, allocations: 3.938 kB / 0.9626 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/0.9093, allocations: 27.78 kB / 0.9626 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.9093, allocations: 1.062 kB / 0.9626 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.9093, allocations: 1.094 kB / 0.9626 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/0.9093, allocations: 1.125 kB / 0.9626 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.9093, allocations: 7.875 kB / 0.9626 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006548/0.91, allocations: 399 kB / 0.963 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002398/0.9102, allocations: 189.6 kB / 0.9632 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.622e-05/0.9103, allocations: 1.062 kB / 0.9632 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.9105, allocations: 7.812 kB / 0.9632 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.177e-05/0.9105, allocations: 15.2 kB / 0.9632 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.9106, allocations: 2.875 kB / 0.9632 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009876/0.9116, allocations: 0.7187 MB / 0.9639 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9116, allocations: 0 / 0.9639 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004253/0.912, allocations: 71.94 kB / 0.964 GB, free: 14.88 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.0001985/0.9122, allocations: 111.2 kB / 0.9641 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005056/0.9127, allocations: 220.9 kB / 0.9643 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.9127, allocations: 0 / 0.9643 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002151/0.9129, allocations: 112 kB / 0.9644 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004517/0.9134, allocations: 56.44 kB / 0.9644 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/0.9152, allocations: 1.171 MB / 0.9656 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006452/0.9158, allocations: 0.9526 MB / 0.9665 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002309/0.9161, allocations: 79.19 kB / 0.9666 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.101e-05/0.9162, allocations: 39.58 kB / 0.9666 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of SimCode: time 3.1e-07/0.9162, allocations: 0 / 0.9666 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of Templates: time 0.01244/0.9286, allocations: 4.405 MB / 0.9709 GB, free: 10.9 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