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.001398/0.001398, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001462/0.001463, allocations: 186.2 kB / 17.34 MB, free: 5.633 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 MB, free: 15.17 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.242/2.242, allocations: 390.2 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 71.89 kB / 0.9516 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8045/0.8058, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003183/0.8091, allocations: 2.249 MB / 1.091 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001288/0.8104, allocations: 0.9436 MB / 1.092 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.8105, allocations: 2.344 kB / 1.092 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005364/0.8111, allocations: 199.2 kB / 1.092 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001298/0.8112, allocations: 70.09 kB / 1.092 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003814/0.8116, allocations: 115.4 kB / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002952/0.8119, allocations: 220.1 kB / 1.092 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001924/0.8121, allocations: 94.92 kB / 1.092 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.8123, allocations: 86.02 kB / 1.092 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001289/0.8124, allocations: 97.31 kB / 1.093 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.177e-05/0.8124, allocations: 17.16 kB / 1.093 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003527/0.8128, allocations: 160.8 kB / 1.093 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001986/0.813, allocations: 213.9 kB / 1.093 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001813/0.8132, allocations: 259.5 kB / 1.093 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008771/0.8141, allocations: 0.7258 MB / 1.094 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.8141, allocations: 0 / 1.094 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8141, allocations: 1.188 kB / 1.094 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.725e-05/0.8141, 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.001172/0.8153, allocations: 0.9656 MB / 1.095 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.8154, allocations: 9.922 kB / 1.095 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006118/0.816, allocations: 121.6 kB / 1.095 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000771/0.8168, allocations: 0.5906 MB / 1.096 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.8168, allocations: 4.781 kB / 1.096 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.137e-05/0.8168, allocations: 12.44 kB / 1.096 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004234/0.8173, allocations: 198 kB / 1.096 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.8173, allocations: 1.188 kB / 1.096 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.8173, allocations: 9.281 kB / 1.096 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.8173, allocations: 6.984 kB / 1.096 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005291/0.8179, allocations: 237.4 kB / 1.096 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001317/0.8192, allocations: 0.9051 MB / 1.097 GB, free: 284 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007577/0.82, allocations: 315.1 kB / 1.097 GB, free: 180 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002214/0.8202, allocations: 107.5 kB / 1.097 GB, free: 144 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007663/0.821, allocations: 251.4 kB / 1.098 GB, free: 12 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.162e-05/0.821, allocations: 36.14 kB / 1.098 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.821, allocations: 0 / 1.098 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of matching and sorting (n=9): time 0.0009873/0.822, allocations: 405.1 kB / 1.098 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.8221, allocations: 52.44 kB / 1.098 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001375/0.8234, allocations: 1 MB / 1.099 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.8235, allocations: 26.86 kB / 1.099 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002908/0.8238, allocations: 345.8 kB / 1.099 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.8238, allocations: 29.92 kB / 1.099 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.572e-05/0.8239, allocations: 24.52 kB / 1.099 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.824, allocations: 317.1 kB / 1.1 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002218/0.8242, allocations: 95.91 kB / 1.1 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002249/0.8244, allocations: 115.5 kB / 1.1 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004405/0.8249, allocations: 221.9 kB / 1.1 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.8249, allocations: 0 / 1.1 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006175/0.8255, allocations: 324.9 kB / 1.1 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.8256, allocations: 5.156 kB / 1.1 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.8256, allocations: 1.562 kB / 1.1 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.8256, allocations: 1.828 kB / 1.1 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/0.8258, allocations: 23.28 kB / 1.1 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.8258, allocations: 2.062 kB / 1.1 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.826, allocations: 19.05 kB / 1.1 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.826, allocations: 4.656 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.0002874/0.8263, allocations: 248.4 kB / 1.101 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.8264, allocations: 75.66 kB / 1.101 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006494/0.8271, allocations: 326.8 kB / 1.101 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.8271, allocations: 0.8438 kB / 1.101 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.8271, allocations: 5.25 kB / 1.101 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.8271, allocations: 4.641 kB / 1.101 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007322/0.8278, allocations: 0.5287 MB / 1.102 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.8278, allocations: 4.5 kB / 1.102 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/0.828, allocations: 20.67 kB / 1.102 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.828, allocations: 0.625 kB / 1.102 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.8281, allocations: 2.453 kB / 1.102 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.8281, allocations: 1.312 kB / 1.102 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.8281, allocations: 0 / 1.102 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006489/0.8287, allocations: 406.5 kB / 1.102 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001968/0.8289, allocations: 185.7 kB / 1.102 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.061e-05/0.829, allocations: 5.25 kB / 1.102 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/0.8292, allocations: 10.83 kB / 1.102 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.282e-05/0.8292, allocations: 5.484 kB / 1.102 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.8293, allocations: 7.609 kB / 1.102 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0009253/0.8302, allocations: 0.7204 MB / 1.103 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8302, allocations: 0 / 1.103 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004207/0.8306, allocations: 68.66 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.0001948/0.8308, allocations: 121.4 kB / 1.103 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004893/0.8313, allocations: 215.8 kB / 1.103 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.8313, allocations: 0 / 1.103 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002113/0.8316, allocations: 105 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.0004555/0.832, allocations: 57.7 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.001775/0.8338, allocations: 1.215 MB / 1.105 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005734/0.8344, allocations: 0.9488 MB / 1.106 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.8345, allocations: 34.19 kB / 1.106 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.8345, allocations: 0 / 1.106 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of Templates: time 0.01383/0.8484, allocations: 7.239 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