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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001098/0.001098, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001334/0.001335, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 223.3 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.554/2.554, allocations: 390.9 MB / 0.666 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003567/0.0003568, allocations: 8 kB / 0.8153 GB, free: 13.59 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7491/0.7495, allocations: 142.4 MB / 0.9544 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1811/0.9306, allocations: 146.5 MB / 1.098 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00544/0.9361, allocations: 4.22 MB / 1.102 GB, free: 8.398 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003479/0.9365, allocations: 15.88 kB / 1.102 GB, free: 8.383 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004231/0.9369, allocations: 87.34 kB / 1.102 GB, free: 8.297 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000781/0.9377, allocations: 254.8 kB / 1.102 GB, free: 8.047 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007497/0.9385, allocations: 234.2 kB / 1.102 GB, free: 7.82 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0008002/0.9393, allocations: 0.6626 MB / 1.103 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003268/0.9397, allocations: 161.2 kB / 1.103 GB, free: 7 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008341/0.9405, allocations: 362.5 kB / 1.103 GB, free: 6.645 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003367/0.9409, allocations: 183.2 kB / 1.104 GB, free: 6.465 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.802e-05/0.9409, allocations: 16 kB / 1.104 GB, free: 6.449 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001778/0.9411, allocations: 67.94 kB / 1.104 GB, free: 6.383 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.9412, allocations: 75.78 kB / 1.104 GB, free: 6.309 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.605e-05/0.9413, allocations: 69.58 kB / 1.104 GB, free: 6.234 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002566/0.9416, allocations: 207.5 kB / 1.104 GB, free: 6.031 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.9416, allocations: 0 / 1.104 GB, free: 6.031 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.182e-06/0.9416, allocations: 0 / 1.104 GB, free: 6.031 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.9416, allocations: 0 / 1.104 GB, free: 6.031 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.0007444/0.9423, allocations: 0.5022 MB / 1.104 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.9424, allocations: 8.031 kB / 1.104 GB, free: 5.473 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.835e-05/0.9425, allocations: 31.67 kB / 1.104 GB, free: 5.441 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003789/0.9428, allocations: 275.4 kB / 1.105 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.9429, allocations: 12 kB / 1.105 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.666e-05/0.9429, allocations: 20 kB / 1.105 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004361/0.9433, allocations: 273.6 kB / 1.105 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.9434, allocations: 0 / 1.105 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.14e-05/0.9434, allocations: 12 kB / 1.105 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.9434, allocations: 4 kB / 1.105 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003321/0.9437, allocations: 159.7 kB / 1.105 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.9451, allocations: 1.371 MB / 1.107 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003544/0.9454, allocations: 199.6 kB / 1.107 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001906/0.9456, allocations: 97.11 kB / 1.107 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003767/0.946, allocations: 129 kB / 1.107 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.9461, allocations: 42.5 kB / 1.107 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.9461, allocations: 0 / 1.107 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0006912/0.9468, allocations: 225.7 kB / 1.107 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.9469, allocations: 179.9 kB / 1.107 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003446/0.9472, allocations: 287 kB / 1.108 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.9473, allocations: 29.7 kB / 1.108 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.9474, allocations: 147.9 kB / 1.108 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.189e-05/0.9475, allocations: 39.55 kB / 1.108 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.493e-06/0.9475, allocations: 0 / 1.108 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.9477, allocations: 338.8 kB / 1.108 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.9478, allocations: 47.91 kB / 1.108 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001876/0.948, allocations: 127.5 kB / 1.108 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.9482, allocations: 63.97 kB / 1.108 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.9482, allocations: 0 / 1.108 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003874/0.9486, allocations: 209.2 kB / 1.109 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.9486, allocations: 5.094 kB / 1.109 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.9486, allocations: 4 kB / 1.109 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.9486, allocations: 0 / 1.109 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.9488, allocations: 35.92 kB / 1.109 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.9488, allocations: 11.92 kB / 1.109 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.949, allocations: 35.86 kB / 1.109 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.556e-05/0.949, allocations: 8 kB / 1.109 GB, free: 0.7305 MB / 0.8575 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001361/0.9491, allocations: 145.8 kB / 1.109 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.9493, allocations: 27.67 kB / 1.109 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003219/0.9496, allocations: 147.3 kB / 1.109 GB, free: 412 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.9496, allocations: 4 kB / 1.109 GB, free: 408 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.401e-05/0.9496, allocations: 4 kB / 1.109 GB, free: 404 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.9497, allocations: 0 / 1.109 GB, free: 404 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000836/0.9505, allocations: 0.773 MB / 1.11 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.9505, allocations: 0 / 1.11 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001308/0.9506, allocations: 27.92 kB / 1.11 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.9507, allocations: 0 / 1.11 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.9507, allocations: 8 kB / 1.11 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.9507, allocations: 4 kB / 1.11 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.9507, allocations: 0 / 1.11 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005361/0.9513, allocations: 355.5 kB / 1.11 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.109e-05/0.9514, allocations: 116.8 kB / 1.11 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.296e-05/0.9514, allocations: 3.938 kB / 1.11 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.9515, allocations: 8 kB / 1.11 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.08e-05/0.9516, allocations: 16.05 kB / 1.11 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.9516, allocations: 4 kB / 1.11 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002012/0.9518, allocations: 209.9 kB / 1.11 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9518, allocations: 0 / 1.11 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003521/0.9522, allocations: 63.78 kB / 1.111 GB, free: 14.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003058/0.9525, allocations: 140 kB / 1.111 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003466/0.9528, allocations: 131.8 kB / 1.111 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.9529, allocations: 0 / 1.111 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.953, allocations: 72.53 kB / 1.111 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007223/0.9537, allocations: 120.9 kB / 1.111 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000865/0.9546, allocations: 0.5544 MB / 1.112 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.955, allocations: 0.7521 MB / 1.112 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001607/0.9552, allocations: 50.25 kB / 1.112 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.29e-05/0.9552, allocations: 19.44 kB / 1.112 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of SimCode: time 2.51e-07/0.9552, allocations: 0 / 1.112 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of Templates: time 0.008179/0.9634, allocations: 3.873 MB / 1.116 GB, free: 8.992 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/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