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.00107/0.00107, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001216/0.001216, allocations: 194.5 kB / 16.14 MB, free: 6.645 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.369/1.369, allocations: 222.9 MB / 239.8 MB, free: 4.59 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.382/2.382, allocations: 390.2 MB / 0.6642 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 67.89 kB / 0.8119 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8093/0.8106, allocations: 140.4 MB / 0.9489 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1794/0.99, allocations: 159.1 MB / 1.104 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.006005/0.9961, allocations: 4.549 MB / 1.109 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004437/0.9966, allocations: 7.938 kB / 1.109 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0004604/0.9971, allocations: 99.34 kB / 1.109 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.000864/0.998, allocations: 306.7 kB / 1.109 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.000721/0.9987, allocations: 258.6 kB / 1.109 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0008532/0.9996, allocations: 0.7874 MB / 1.11 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002936/0.9999, allocations: 169.5 kB / 1.11 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009561/1.001, allocations: 438.3 kB / 1.111 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003197/1.001, allocations: 195.2 kB / 1.111 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 4.011e-05/1.001, allocations: 12 kB / 1.111 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001851/1.001, allocations: 63.95 kB / 1.111 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 9.841e-05/1.002, allocations: 79.77 kB / 1.111 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.000116/1.002, allocations: 123.3 kB / 1.111 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0003738/1.002, allocations: 287.1 kB / 1.111 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/1.002, allocations: 0 / 1.111 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of FrontEnd: time 9.42e-07/1.002, allocations: 0 / 1.111 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.671e-06/1.002, allocations: 0 / 1.111 GB, free: 11.06 MB / 0.8731 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.0008115/1.003, allocations: 0.5333 MB / 1.112 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/1.003, allocations: 8.031 kB / 1.112 GB, free: 10.47 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.458e-05/1.003, allocations: 35.59 kB / 1.112 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003466/1.003, allocations: 271.4 kB / 1.112 GB, free: 10.13 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/1.003, allocations: 19.98 kB / 1.112 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.68e-05/1.003, allocations: 19.94 kB / 1.112 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004882/1.004, allocations: 261.7 kB / 1.113 GB, free: 9.797 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/1.004, allocations: 0 / 1.113 GB, free: 9.797 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/1.004, allocations: 15.94 kB / 1.113 GB, free: 9.781 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/1.004, allocations: 4 kB / 1.113 GB, free: 9.777 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003443/1.004, allocations: 143.8 kB / 1.113 GB, free: 9.637 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/1.006, allocations: 1.367 MB / 1.114 GB, free: 8.176 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002866/1.006, allocations: 183.7 kB / 1.114 GB, free: 7.941 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/1.006, allocations: 97.11 kB / 1.114 GB, free: 7.828 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003592/1.007, allocations: 117 kB / 1.114 GB, free: 7.695 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/1.007, allocations: 46.44 kB / 1.114 GB, free: 7.641 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/1.007, allocations: 0 / 1.114 GB, free: 7.641 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10): time 0.0006701/1.007, allocations: 205.8 kB / 1.115 GB, free: 7.434 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.467e-05/1.007, allocations: 191.9 kB / 1.115 GB, free: 7.203 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00032/1.008, allocations: 287 kB / 1.115 GB, free: 6.91 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.233e-05/1.008, allocations: 29.7 kB / 1.115 GB, free: 6.875 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/1.008, allocations: 151.8 kB / 1.115 GB, free: 6.723 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.049e-05/1.008, allocations: 35.55 kB / 1.115 GB, free: 6.688 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.023e-05/1.008, allocations: 37.7 kB / 1.115 GB, free: 6.645 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001263/1.008, allocations: 330.8 kB / 1.116 GB, free: 6.312 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/1.008, allocations: 59.89 kB / 1.116 GB, free: 6.254 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002069/1.009, allocations: 109.6 kB / 1.116 GB, free: 6.121 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003066/1.009, allocations: 158.7 kB / 1.116 GB, free: 5.941 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/1.009, allocations: 4 kB / 1.116 GB, free: 5.938 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003764/1.009, allocations: 189.1 kB / 1.116 GB, free: 5.746 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/1.009, allocations: 7.938 kB / 1.116 GB, free: 5.738 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/1.009, allocations: 4 kB / 1.116 GB, free: 5.734 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/1.009, allocations: 4 kB / 1.116 GB, free: 5.73 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/1.01, allocations: 32.14 kB / 1.116 GB, free: 5.699 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/1.01, allocations: 7.984 kB / 1.116 GB, free: 5.691 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/1.01, allocations: 31.73 kB / 1.116 GB, free: 5.66 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.772e-05/1.01, allocations: 8 kB / 1.116 GB, free: 5.652 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.0001341/1.01, allocations: 145.8 kB / 1.116 GB, free: 5.5 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001782/1.01, allocations: 27.66 kB / 1.116 GB, free: 5.473 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00033/1.01, allocations: 142.9 kB / 1.117 GB, free: 5.328 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/1.01, allocations: 4 kB / 1.117 GB, free: 5.324 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/1.01, allocations: 0 / 1.117 GB, free: 5.324 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/1.01, allocations: 7.938 kB / 1.117 GB, free: 5.316 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007903/1.011, allocations: 0.7653 MB / 1.117 GB, free: 4.477 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-06/1.011, allocations: 4 kB / 1.117 GB, free: 4.473 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/1.011, allocations: 28.09 kB / 1.117 GB, free: 4.445 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/1.011, allocations: 0 / 1.117 GB, free: 4.445 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/1.011, allocations: 8 kB / 1.117 GB, free: 4.438 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/1.011, allocations: 4 kB / 1.117 GB, free: 4.434 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/1.011, allocations: 0 / 1.117 GB, free: 4.434 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005723/1.012, allocations: 343.2 kB / 1.118 GB, free: 4.066 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.955e-05/1.012, allocations: 112.8 kB / 1.118 GB, free: 3.938 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.776e-05/1.012, allocations: 4 kB / 1.118 GB, free: 3.934 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/1.012, allocations: 12.05 kB / 1.118 GB, free: 3.922 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-05/1.012, allocations: 15.92 kB / 1.118 GB, free: 3.906 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-06/1.012, allocations: 7.938 kB / 1.118 GB, free: 3.898 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002075/1.013, allocations: 209.9 kB / 1.118 GB, free: 3.691 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.51e-07/1.013, allocations: 0 / 1.118 GB, free: 3.691 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003322/1.013, allocations: 59.94 kB / 1.118 GB, free: 3.633 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.0003871/1.013, allocations: 132.3 kB / 1.118 GB, free: 3.5 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003587/1.014, allocations: 115.8 kB / 1.118 GB, free: 3.387 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/1.014, allocations: 0 / 1.118 GB, free: 3.387 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002635/1.014, allocations: 72.58 kB / 1.118 GB, free: 3.316 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007615/1.015, allocations: 122.4 kB / 1.119 GB, free: 3.199 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008975/1.016, allocations: 0.5408 MB / 1.119 GB, free: 2.613 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/1.016, allocations: 0.756 MB / 1.12 GB, free: 1.832 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001565/1.016, allocations: 50.25 kB / 1.12 GB, free: 1.781 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.435e-05/1.016, allocations: 23.44 kB / 1.12 GB, free: 1.758 MB / 0.8731 GB Notification: Performance of SimCode: time 6.82e-07/1.016, allocations: 0 / 1.12 GB, free: 1.758 MB / 0.8731 GB Notification: Performance of Templates: time 0.00943/1.026, allocations: 4.01 MB / 1.124 GB, free: 13.81 MB / 0.8887 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches