Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 108.2 kB / 15.99 MB, free: 6.367 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.001745/0.001745, allocations: 189.2 kB / 16.91 MB, free: 6.195 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.343/1.343, allocations: 222.9 MB / 240.6 MB, free: 15.41 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.239/2.239, allocations: 390.2 MB / 0.665 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 69.14 kB / 0.8127 GB, free: 33.2 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3167, allocations: 140.4 MB / 0.9498 GB, free: 9.234 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.6946/1.011, allocations: 159.2 MB / 1.105 GB, free: 6.152 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005834/1.017, allocations: 4.51 MB / 1.11 GB, free: 6.035 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000577/1.018, allocations: 10.56 kB / 1.11 GB, free: 6.035 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005386/1.018, allocations: 108.4 kB / 1.11 GB, free: 6.031 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00105/1.019, allocations: 309.7 kB / 1.11 GB, free: 6.016 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009082/1.02, allocations: 245.2 kB / 1.11 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00088/1.021, allocations: 0.5641 MB / 1.111 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004055/1.022, allocations: 197.9 kB / 1.111 GB, free: 5.98 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001285/1.023, allocations: 455.6 kB / 1.111 GB, free: 5.965 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003712/1.023, allocations: 205.5 kB / 1.112 GB, free: 5.965 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.735e-05/1.023, allocations: 20.62 kB / 1.112 GB, free: 5.961 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002711/1.024, allocations: 76.33 kB / 1.112 GB, free: 5.957 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001647/1.024, allocations: 91.38 kB / 1.112 GB, free: 5.957 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001949/1.024, allocations: 117 kB / 1.112 GB, free: 5.957 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004281/1.025, allocations: 212.5 kB / 1.112 GB, free: 5.938 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/1.025, allocations: 0 / 1.112 GB, free: 5.938 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.215e-06/1.025, allocations: 0.9688 kB / 1.112 GB, free: 5.938 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.694e-06/1.025, allocations: 0 / 1.112 GB, free: 5.938 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.001178/1.026, allocations: 0.5369 MB / 1.113 GB, free: 21.5 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/1.026, allocations: 9.469 kB / 1.113 GB, free: 21.5 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.985e-05/1.026, allocations: 29.44 kB / 1.113 GB, free: 21.49 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004186/1.026, allocations: 271.1 kB / 1.113 GB, free: 21.27 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.602e-05/1.026, allocations: 14.95 kB / 1.113 GB, free: 21.27 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.193e-05/1.026, allocations: 20.06 kB / 1.113 GB, free: 21.27 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004933/1.027, allocations: 266.9 kB / 1.113 GB, free: 21.15 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/1.027, allocations: 3.25 kB / 1.113 GB, free: 21.15 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/1.027, allocations: 10.06 kB / 1.113 GB, free: 21.14 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/1.027, allocations: 3.469 kB / 1.113 GB, free: 21.14 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003516/1.027, allocations: 152.5 kB / 1.113 GB, free: 21.14 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001373/1.029, allocations: 1.367 MB / 1.115 GB, free: 20.05 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002919/1.029, allocations: 181.2 kB / 1.115 GB, free: 19.91 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001785/1.029, allocations: 91.78 kB / 1.115 GB, free: 19.86 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003981/1.03, allocations: 123.7 kB / 1.115 GB, free: 19.77 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/1.03, allocations: 37.5 kB / 1.115 GB, free: 19.73 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=10): time 1.994e-06/1.03, allocations: 0 / 1.115 GB, free: 19.73 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10): time 0.00065/1.03, allocations: 212.3 kB / 1.115 GB, free: 19.68 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.132e-05/1.03, allocations: 185 kB / 1.115 GB, free: 19.46 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003161/1.031, allocations: 289.4 kB / 1.116 GB, free: 19.35 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/1.031, allocations: 27.08 kB / 1.116 GB, free: 19.32 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/1.031, allocations: 154.3 kB / 1.116 GB, free: 19.22 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.254e-05/1.031, allocations: 36.7 kB / 1.116 GB, free: 19.2 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.89e-05/1.031, allocations: 36.58 kB / 1.116 GB, free: 19.18 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001382/1.031, allocations: 335.6 kB / 1.116 GB, free: 18.87 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/1.031, allocations: 43.39 kB / 1.116 GB, free: 18.87 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001899/1.031, allocations: 121.6 kB / 1.116 GB, free: 18.79 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002734/1.032, allocations: 155.3 kB / 1.117 GB, free: 18.73 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/1.032, allocations: 1.219 kB / 1.117 GB, free: 18.73 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003673/1.032, allocations: 189.4 kB / 1.117 GB, free: 18.68 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/1.032, allocations: 16.34 kB / 1.117 GB, free: 18.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/1.032, allocations: 2.75 kB / 1.117 GB, free: 18.68 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/1.032, allocations: 4.969 kB / 1.117 GB, free: 18.68 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/1.032, allocations: 34.28 kB / 1.117 GB, free: 18.67 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/1.032, allocations: 6.406 kB / 1.117 GB, free: 18.67 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/1.033, allocations: 30.34 kB / 1.117 GB, free: 18.66 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.752e-05/1.033, allocations: 7.125 kB / 1.117 GB, free: 18.66 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 15 * 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.0001436/1.033, allocations: 149.2 kB / 1.117 GB, free: 18.54 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/1.033, allocations: 31.42 kB / 1.117 GB, free: 18.53 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003326/1.033, allocations: 124.5 kB / 1.117 GB, free: 18.49 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/1.033, allocations: 2.734 kB / 1.117 GB, free: 18.49 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/1.033, allocations: 4.812 kB / 1.117 GB, free: 18.49 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/1.033, allocations: 2.062 kB / 1.117 GB, free: 18.49 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008538/1.034, allocations: 0.7751 MB / 1.118 GB, free: 17.85 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/1.034, allocations: 1.812 kB / 1.118 GB, free: 17.85 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/1.034, allocations: 25.42 kB / 1.118 GB, free: 17.85 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/1.034, allocations: 1.406 kB / 1.118 GB, free: 17.85 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/1.034, allocations: 6.984 kB / 1.118 GB, free: 17.85 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/1.034, allocations: 2.625 kB / 1.118 GB, free: 17.85 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.034, allocations: 8.781 kB / 1.118 GB, free: 17.84 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005468/1.035, allocations: 340.8 kB / 1.118 GB, free: 17.65 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/1.035, allocations: 110.3 kB / 1.118 GB, free: 17.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.943e-05/1.035, allocations: 8.703 kB / 1.118 GB, free: 17.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/1.035, allocations: 8.234 kB / 1.118 GB, free: 17.55 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.644e-05/1.035, allocations: 15.06 kB / 1.118 GB, free: 17.54 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/1.035, allocations: 3.875 kB / 1.118 GB, free: 17.54 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002261/1.035, allocations: 209.5 kB / 1.119 GB, free: 17.46 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.035, allocations: 4 kB / 1.119 GB, free: 17.46 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004028/1.036, allocations: 57.17 kB / 1.119 GB, free: 17.45 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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 (10): * Single equations (assignments): 10 * 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.0003751/1.036, allocations: 154.6 kB / 1.119 GB, free: 17.35 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003726/1.037, allocations: 125.8 kB / 1.119 GB, free: 17.34 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.037, allocations: 0 / 1.119 GB, free: 17.34 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001437/1.037, allocations: 58.08 kB / 1.119 GB, free: 17.34 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007672/1.038, allocations: 123.2 kB / 1.119 GB, free: 17.34 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008757/1.038, allocations: 0.5788 MB / 1.12 GB, free: 16.94 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/1.039, allocations: 0.754 MB / 1.12 GB, free: 16.24 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.349e-05/1.039, allocations: 23.92 kB / 1.121 GB, free: 16.23 MB / 0.8731 GB Notification: Performance of SimCode: time 3.81e-07/1.039, allocations: 0 / 1.121 GB, free: 16.23 MB / 0.8731 GB Notification: Performance of Templates: time 0.00751/1.046, allocations: 3.796 MB / 1.124 GB, free: 15.93 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches