Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001446/0.001446, allocations: 115.8 kB / 16.37 MB, free: 6.012 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.001576/0.001576, allocations: 189.3 kB / 17.31 MB, free: 5.613 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.386/1.386, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.455/2.455, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 69.27 kB / 0.8773 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2838, allocations: 153 MB / 1.027 GB, free: 2.121 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.6963/0.9802, allocations: 161.4 MB / 1.184 GB, free: 2.5 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.005773/0.986, allocations: 4.538 MB / 1.189 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003768/0.9864, allocations: 18.19 kB / 1.189 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0004529/0.9869, allocations: 120.7 kB / 1.189 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0008061/0.9878, allocations: 329.2 kB / 1.189 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007653/0.9885, allocations: 281.5 kB / 1.189 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0007434/0.9893, allocations: 0.5607 MB / 1.19 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003396/0.9896, allocations: 199.4 kB / 1.19 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009256/0.9906, allocations: 462.7 kB / 1.191 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002981/0.9909, allocations: 187.6 kB / 1.191 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.726e-05/0.9909, allocations: 16.16 kB / 1.191 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001859/0.9911, allocations: 80.19 kB / 1.191 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.9913, allocations: 92.11 kB / 1.191 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.9914, allocations: 115.1 kB / 1.191 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0003683/0.9918, allocations: 303.8 kB / 1.191 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.9918, allocations: 0 / 1.191 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.595e-06/0.9918, allocations: 0 / 1.191 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.016e-05/0.9918, allocations: 3.938 kB / 1.191 GB, free: 13.06 MB / 0.9044 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.0007923/0.9926, allocations: 0.5333 MB / 1.192 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.9927, allocations: 9 kB / 1.192 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.896e-05/0.9927, allocations: 29.22 kB / 1.192 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004186/0.9932, allocations: 289.6 kB / 1.192 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.9932, allocations: 12.25 kB / 1.192 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.901e-05/0.9932, allocations: 16.72 kB / 1.192 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004442/0.9937, allocations: 267.2 kB / 1.193 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.9937, allocations: 5.25 kB / 1.193 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/0.9937, allocations: 10.56 kB / 1.193 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.9938, allocations: 4.156 kB / 1.193 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003367/0.9941, allocations: 152 kB / 1.193 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.9954, allocations: 1.356 MB / 1.194 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002753/0.9957, allocations: 184.1 kB / 1.194 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001627/0.9959, allocations: 97.67 kB / 1.194 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003258/0.9962, allocations: 119.3 kB / 1.194 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.9962, allocations: 37.09 kB / 1.194 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 2.956e-06/0.9962, allocations: 0 / 1.194 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0005942/0.9968, allocations: 213.9 kB / 1.195 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.118e-05/0.9969, allocations: 190.5 kB / 1.195 GB, free: 9.883 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003038/0.9972, allocations: 293.2 kB / 1.195 GB, free: 9.695 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.9973, allocations: 26.77 kB / 1.195 GB, free: 9.664 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.9974, allocations: 152 kB / 1.195 GB, free: 9.523 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.84e-05/0.9974, allocations: 36.05 kB / 1.195 GB, free: 9.492 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.579e-05/0.9975, allocations: 39.23 kB / 1.195 GB, free: 9.461 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.9977, allocations: 336.7 kB / 1.196 GB, free: 9.129 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.9978, allocations: 44.31 kB / 1.196 GB, free: 9.109 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001919/0.998, allocations: 118.2 kB / 1.196 GB, free: 9.004 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002686/0.9983, allocations: 158 kB / 1.196 GB, free: 8.883 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.9983, allocations: 5.938 kB / 1.196 GB, free: 8.879 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003522/0.9987, allocations: 189.1 kB / 1.196 GB, free: 8.77 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.9987, allocations: 10.72 kB / 1.196 GB, free: 8.766 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.9987, allocations: 1.125 kB / 1.196 GB, free: 8.766 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.9987, allocations: 2.531 kB / 1.196 GB, free: 8.766 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.9988, allocations: 28.17 kB / 1.196 GB, free: 8.762 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.393e-06/0.9989, allocations: 7.969 kB / 1.196 GB, free: 8.758 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001445/0.999, allocations: 23.2 kB / 1.196 GB, free: 8.746 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.703e-05/0.999, allocations: 10.59 kB / 1.196 GB, free: 8.742 MB / 0.9044 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.0001127/0.9992, allocations: 147.1 kB / 1.196 GB, free: 8.605 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.9993, allocations: 27.28 kB / 1.196 GB, free: 8.59 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003074/0.9996, allocations: 139.5 kB / 1.197 GB, free: 8.492 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.9996, allocations: 2.75 kB / 1.197 GB, free: 8.492 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.9996, allocations: 1.375 kB / 1.197 GB, free: 8.492 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.9996, allocations: 1.375 kB / 1.197 GB, free: 8.492 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007904/1, allocations: 0.7756 MB / 1.197 GB, free: 7.727 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/1, allocations: 5.781 kB / 1.197 GB, free: 7.723 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/1.001, allocations: 25.8 kB / 1.197 GB, free: 7.715 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/1.001, allocations: 6.75 kB / 1.197 GB, free: 7.711 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/1.001, allocations: 2.75 kB / 1.197 GB, free: 7.711 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/1.001, allocations: 1.375 kB / 1.197 GB, free: 7.711 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/1.001, allocations: 1.375 kB / 1.197 GB, free: 7.711 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000504/1.001, allocations: 341 kB / 1.198 GB, free: 7.441 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/1.001, allocations: 111.8 kB / 1.198 GB, free: 7.324 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.654e-05/1.001, allocations: 6.734 kB / 1.198 GB, free: 7.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/1.001, allocations: 12.19 kB / 1.198 GB, free: 7.312 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.897e-05/1.001, allocations: 17.45 kB / 1.198 GB, free: 7.301 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/1.002, allocations: 8.062 kB / 1.198 GB, free: 7.297 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002034/1.002, allocations: 209.3 kB / 1.198 GB, free: 7.156 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/1.002, allocations: 0 / 1.198 GB, free: 7.156 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003339/1.002, allocations: 57.31 kB / 1.198 GB, free: 7.145 MB / 0.9044 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.0003007/1.002, allocations: 138.4 kB / 1.198 GB, free: 7.039 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003293/1.003, allocations: 123 kB / 1.198 GB, free: 6.984 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.003, allocations: 0 / 1.198 GB, free: 6.984 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001394/1.003, allocations: 58.59 kB / 1.198 GB, free: 6.961 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006944/1.004, allocations: 131.9 kB / 1.198 GB, free: 6.898 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007668/1.004, allocations: 498.1 kB / 1.199 GB, free: 6.527 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/1.005, allocations: 0.758 MB / 1.2 GB, free: 5.793 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001279/1.005, allocations: 59.17 kB / 1.2 GB, free: 5.766 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.305e-05/1.005, allocations: 24.77 kB / 1.2 GB, free: 5.754 MB / 0.9044 GB Notification: Performance of SimCode: time 2.5e-07/1.005, allocations: 5.344 kB / 1.2 GB, free: 5.75 MB / 0.9044 GB Notification: Performance of Templates: time 0.007555/1.012, allocations: 4.203 MB / 1.204 GB, free: 3.684 MB / 0.9044 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches