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.001413/0.001413, allocations: 111.8 kB / 16.41 MB, free: 6.496 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.00118/0.00118, allocations: 187 kB / 17.34 MB, free: 5.762 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.392/1.392, allocations: 222.9 MB / 241 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.254/2.254, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 67.91 kB / 0.9516 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8012/0.8026, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003448/0.8061, allocations: 2.245 MB / 1.091 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001455/0.8075, allocations: 0.9543 MB / 1.092 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.8077, allocations: 1.281 kB / 1.092 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005745/0.8082, allocations: 195.1 kB / 1.092 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001371/0.8084, allocations: 70.97 kB / 1.092 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003866/0.8088, allocations: 111.7 kB / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002739/0.8091, allocations: 222.9 kB / 1.092 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002007/0.8093, allocations: 87.7 kB / 1.092 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.8094, allocations: 86.11 kB / 1.092 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.8096, allocations: 100.6 kB / 1.093 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.014e-05/0.8096, allocations: 17.09 kB / 1.093 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003385/0.8099, allocations: 156.9 kB / 1.093 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000231/0.8102, allocations: 213.8 kB / 1.093 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001809/0.8104, allocations: 260.5 kB / 1.093 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008283/0.8112, allocations: 0.7328 MB / 1.094 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.8112, allocations: 0 / 1.094 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.697e-06/0.8112, allocations: 1.375 kB / 1.094 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.8113, allocations: 0 / 1.094 GB, free: 2.172 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.001252/0.8125, allocations: 0.9644 MB / 1.095 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.8126, allocations: 9.156 kB / 1.095 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005535/0.8131, allocations: 121.5 kB / 1.095 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007332/0.8139, allocations: 0.5943 MB / 1.096 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.8139, allocations: 9.688 kB / 1.096 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/0.8139, allocations: 7.719 kB / 1.096 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000428/0.8144, allocations: 203 kB / 1.096 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.8144, allocations: 192 / 1.096 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/0.8144, allocations: 9.344 kB / 1.096 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.8144, allocations: 2.812 kB / 1.096 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005238/0.815, allocations: 234.2 kB / 1.096 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00138/0.8163, allocations: 0.9088 MB / 1.097 GB, free: 284 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000718/0.8171, allocations: 315.2 kB / 1.097 GB, free: 180 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002178/0.8173, allocations: 106.8 kB / 1.097 GB, free: 144 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007507/0.8181, allocations: 239.8 kB / 1.098 GB, free: 24 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/0.8181, allocations: 36.31 kB / 1.098 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.8181, allocations: 0 / 1.098 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of matching and sorting (n=9): time 0.0009653/0.8191, allocations: 404.8 kB / 1.098 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.8191, allocations: 56.98 kB / 1.098 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001516/0.8207, allocations: 0.9986 MB / 1.099 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.8207, allocations: 27.58 kB / 1.099 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003482/0.8211, allocations: 341.3 kB / 1.099 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/0.8211, allocations: 29.8 kB / 1.099 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-05/0.8212, allocations: 25.09 kB / 1.099 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.8213, allocations: 312.8 kB / 1.1 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002387/0.8216, allocations: 103.7 kB / 1.1 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002532/0.8218, allocations: 115.8 kB / 1.1 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004663/0.8223, allocations: 226.4 kB / 1.1 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.8223, allocations: 0 / 1.1 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006663/0.823, allocations: 321.1 kB / 1.1 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.823, allocations: 5.469 kB / 1.1 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.823, allocations: 0.5938 kB / 1.1 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.823, allocations: 2.172 kB / 1.1 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/0.8233, allocations: 27.67 kB / 1.1 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.8233, allocations: 1.75 kB / 1.1 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.8235, allocations: 19.14 kB / 1.1 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.8235, allocations: 4.266 kB / 1.1 GB, free: 14.41 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.0003228/0.8238, allocations: 244.9 kB / 1.101 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.8239, allocations: 75.25 kB / 1.101 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007218/0.8247, allocations: 326.3 kB / 1.101 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.8247, allocations: 2.25 kB / 1.101 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.8247, allocations: 0 / 1.101 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.8247, allocations: 5.703 kB / 1.101 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008883/0.8256, allocations: 0.5317 MB / 1.102 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.8256, allocations: 5.25 kB / 1.102 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.8258, allocations: 24.38 kB / 1.102 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.8258, allocations: 0.5 kB / 1.102 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.8258, allocations: 2.5 kB / 1.102 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.8258, allocations: 1.031 kB / 1.102 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.8258, allocations: 0.5625 kB / 1.102 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006917/0.8265, allocations: 411.2 kB / 1.102 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002159/0.8268, allocations: 183.9 kB / 1.102 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.069e-05/0.8268, allocations: 5.891 kB / 1.102 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.827, allocations: 11.34 kB / 1.102 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.059e-05/0.8271, allocations: 8.734 kB / 1.102 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.8271, allocations: 3.375 kB / 1.102 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.00106/0.8281, allocations: 0.7207 MB / 1.103 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8282, allocations: 0 / 1.103 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004559/0.8286, allocations: 68.23 kB / 1.103 GB, free: 13.07 MB / 0.8731 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.0002313/0.8288, allocations: 117.4 kB / 1.103 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005306/0.8294, allocations: 215.8 kB / 1.103 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.8294, allocations: 0 / 1.103 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002277/0.8296, allocations: 108.8 kB / 1.103 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004719/0.8301, allocations: 60.55 kB / 1.103 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002086/0.8322, allocations: 1.21 MB / 1.105 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006682/0.8329, allocations: 0.9493 MB / 1.106 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.833, allocations: 34.53 kB / 1.106 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.833, allocations: 0 / 1.106 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of Templates: time 0.01621/0.8493, allocations: 7.238 MB / 1.113 GB, free: 10.11 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