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.001312/0.001312, allocations: 108.4 kB / 16.41 MB, free: 6.512 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.001355/0.001355, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.353/1.353, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.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.205/2.205, allocations: 390.2 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 63.91 kB / 0.9516 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7964/0.7979, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003212/0.8011, allocations: 2.26 MB / 1.091 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001198/0.8023, allocations: 0.9437 MB / 1.092 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.386e-05/0.8024, allocations: 2.062 kB / 1.092 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000493/0.8029, allocations: 199.4 kB / 1.092 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001152/0.8031, allocations: 74.7 kB / 1.092 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003313/0.8034, allocations: 110.7 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002687/0.8037, allocations: 220.3 kB / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/0.8039, allocations: 90.39 kB / 1.092 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.804, allocations: 90.12 kB / 1.093 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.8041, allocations: 98.05 kB / 1.093 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.105e-05/0.8042, allocations: 17.22 kB / 1.093 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003174/0.8045, allocations: 151.5 kB / 1.093 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001892/0.8047, allocations: 215.2 kB / 1.093 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001887/0.8049, allocations: 259.3 kB / 1.093 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007637/0.8056, allocations: 0.7255 MB / 1.094 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.8056, allocations: 0.8438 kB / 1.094 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8057, allocations: 0 / 1.094 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.8057, allocations: 0 / 1.094 GB, free: 2.195 MB / 0.8575 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.00121/0.8069, allocations: 0.9706 MB / 1.095 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.8069, allocations: 8.703 kB / 1.095 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005895/0.8075, allocations: 121.5 kB / 1.095 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008914/0.8084, allocations: 0.5943 MB / 1.096 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.8085, allocations: 8.594 kB / 1.096 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.358e-05/0.8085, allocations: 13.11 kB / 1.096 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004846/0.809, allocations: 194.2 kB / 1.096 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.809, allocations: 192 / 1.096 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/0.8091, allocations: 9.406 kB / 1.096 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.8091, allocations: 2.906 kB / 1.096 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005953/0.8097, allocations: 234.1 kB / 1.096 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001457/0.8111, allocations: 0.909 MB / 1.097 GB, free: 304 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007227/0.8119, allocations: 322.8 kB / 1.097 GB, free: 192 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/0.8121, allocations: 110.3 kB / 1.097 GB, free: 152 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007117/0.8128, allocations: 237.2 kB / 1.098 GB, free: 36 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.8129, allocations: 44.19 kB / 1.098 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.8129, allocations: 0 / 1.098 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of matching and sorting (n=9): time 0.0009635/0.8138, allocations: 400.8 kB / 1.098 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.8139, allocations: 52.5 kB / 1.098 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001429/0.8153, allocations: 0.9992 MB / 1.099 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.8154, allocations: 30.45 kB / 1.099 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003061/0.8157, allocations: 345.5 kB / 1.099 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.767e-05/0.8157, allocations: 29.94 kB / 1.099 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.564e-05/0.8158, allocations: 24.55 kB / 1.099 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.397e-05/0.8159, allocations: 313.1 kB / 1.1 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002164/0.8161, allocations: 95.78 kB / 1.1 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002401/0.8163, allocations: 119.3 kB / 1.1 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005492/0.8169, allocations: 218.4 kB / 1.1 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.8169, allocations: 0 / 1.1 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007535/0.8177, allocations: 326.4 kB / 1.1 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.8177, allocations: 4.562 kB / 1.1 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.8177, allocations: 0.7188 kB / 1.1 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.8177, allocations: 10.3 kB / 1.1 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001863/0.8179, allocations: 24.3 kB / 1.1 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.818, allocations: 1.844 kB / 1.1 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/0.8181, allocations: 11.78 kB / 1.1 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.8182, allocations: 3.984 kB / 1.1 GB, free: 14.43 MB / 0.8731 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.0003256/0.8185, allocations: 251.5 kB / 1.101 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.8186, allocations: 76.12 kB / 1.101 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006848/0.8193, allocations: 330.5 kB / 1.101 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.8193, allocations: 0.5625 kB / 1.101 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.8193, allocations: 1.219 kB / 1.101 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002326/0.8196, allocations: 176.7 kB / 1.101 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.375e-05/0.8196, allocations: 9.531 kB / 1.101 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.8198, allocations: 6.391 kB / 1.101 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.347e-05/0.8199, allocations: 6 kB / 1.101 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007126/0.8206, allocations: 339.2 kB / 1.102 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006855/0.8213, allocations: 478.2 kB / 1.102 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002337/0.8215, allocations: 105.5 kB / 1.102 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0009306/0.8225, allocations: 0.7172 MB / 1.103 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of Backend: time 6.81e-07/0.8225, allocations: 4 kB / 1.103 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0007928/0.8233, allocations: 215.4 kB / 1.103 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of SimCode: time 0.0018/0.8251, allocations: 1.568 MB / 1.105 GB, free: 12 MB / 0.8731 GB Notification: Performance of Templates: time 0.01232/0.8374, allocations: 5.169 MB / 1.11 GB, free: 11.56 MB / 0.8731 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/jenkins1/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