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.006497/0.006503, allocations: 101.3 kB / 15.73 MB, free: 6.047 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.001499/0.001499, allocations: 188.6 kB / 16.67 MB, free: 5.98 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.453/1.453, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.472/2.472, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 66.98 kB / 0.9509 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.344, allocations: 140.4 MB / 1.088 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1864/0.5304, allocations: 161.4 MB / 1.246 GB, free: 15.53 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005186/0.5357, allocations: 4.553 MB / 1.25 GB, free: 10.96 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003252/0.536, allocations: 7.938 kB / 1.25 GB, free: 10.96 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0004457/0.5365, allocations: 127.1 kB / 1.25 GB, free: 10.83 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0009264/0.5375, allocations: 346.4 kB / 1.25 GB, free: 10.49 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009122/0.5384, allocations: 280.4 kB / 1.251 GB, free: 10.22 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0006996/0.5391, allocations: 0.5573 MB / 1.251 GB, free: 9.664 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003789/0.5395, allocations: 209.1 kB / 1.251 GB, free: 9.457 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001082/0.5406, allocations: 466.2 kB / 1.252 GB, free: 9 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002814/0.5409, allocations: 187.3 kB / 1.252 GB, free: 8.816 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.2e-05/0.5409, allocations: 16 kB / 1.252 GB, free: 8.801 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000189/0.5411, allocations: 83.92 kB / 1.252 GB, free: 8.719 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001235/0.5413, allocations: 95.72 kB / 1.252 GB, free: 8.625 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001482/0.5414, allocations: 123.4 kB / 1.252 GB, free: 8.504 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004384/0.5419, allocations: 295 kB / 1.253 GB, free: 8.215 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.5419, allocations: 0 / 1.253 GB, free: 8.215 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5419, allocations: 0 / 1.253 GB, free: 8.215 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.5419, allocations: 0 / 1.253 GB, free: 8.215 MB / 1.014 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.0009698/0.5429, allocations: 0.5294 MB / 1.253 GB, free: 7.637 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.543, allocations: 12.02 kB / 1.253 GB, free: 7.625 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.633e-05/0.543, allocations: 31.66 kB / 1.253 GB, free: 7.594 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000469/0.5435, allocations: 295.2 kB / 1.253 GB, free: 7.266 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.5436, allocations: 12 kB / 1.253 GB, free: 7.254 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.233e-05/0.5436, allocations: 20 kB / 1.254 GB, free: 7.234 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004596/0.5441, allocations: 261.7 kB / 1.254 GB, free: 6.941 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.5441, allocations: 4 kB / 1.254 GB, free: 6.938 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/0.5441, allocations: 7.938 kB / 1.254 GB, free: 6.93 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.5441, allocations: 4 kB / 1.254 GB, free: 6.926 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000323/0.5445, allocations: 151.8 kB / 1.254 GB, free: 6.777 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001478/0.546, allocations: 1.367 MB / 1.255 GB, free: 5.32 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003003/0.5463, allocations: 183.7 kB / 1.255 GB, free: 5.086 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.5465, allocations: 101.1 kB / 1.256 GB, free: 4.969 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003313/0.5468, allocations: 113.1 kB / 1.256 GB, free: 4.84 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.5468, allocations: 50.42 kB / 1.256 GB, free: 4.781 MB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/0.5468, allocations: 0 / 1.256 GB, free: 4.781 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.0005779/0.5474, allocations: 209.8 kB / 1.256 GB, free: 4.57 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.702e-05/0.5475, allocations: 179.9 kB / 1.256 GB, free: 4.352 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002689/0.5478, allocations: 298.8 kB / 1.256 GB, free: 4.055 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.5478, allocations: 29.7 kB / 1.256 GB, free: 4.02 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.5479, allocations: 143.9 kB / 1.257 GB, free: 3.875 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.718e-05/0.548, allocations: 43.52 kB / 1.257 GB, free: 3.832 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.845e-05/0.548, allocations: 29.72 kB / 1.257 GB, free: 3.797 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.5482, allocations: 338.8 kB / 1.257 GB, free: 3.457 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.5483, allocations: 51.95 kB / 1.257 GB, free: 3.406 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001706/0.5485, allocations: 115.6 kB / 1.257 GB, free: 3.266 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002641/0.5488, allocations: 154.7 kB / 1.257 GB, free: 3.09 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5488, allocations: 4 kB / 1.257 GB, free: 3.086 MB / 1.014 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003362/0.5491, allocations: 185.5 kB / 1.257 GB, free: 2.898 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.5491, allocations: 11.94 kB / 1.257 GB, free: 2.887 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.5491, allocations: 0 / 1.257 GB, free: 2.887 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.5492, allocations: 4 kB / 1.257 GB, free: 2.883 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.5493, allocations: 44.12 kB / 1.257 GB, free: 2.84 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.5493, allocations: 0 / 1.257 GB, free: 2.84 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.5495, allocations: 35.67 kB / 1.257 GB, free: 2.805 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-05/0.5495, allocations: 8 kB / 1.257 GB, free: 2.797 MB / 1.014 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.0001327/0.5497, allocations: 148.3 kB / 1.258 GB, free: 2.645 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.5498, allocations: 27.66 kB / 1.258 GB, free: 2.617 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003104/0.5501, allocations: 131 kB / 1.258 GB, free: 2.48 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.5501, allocations: 0 / 1.258 GB, free: 2.48 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.5501, allocations: 4 kB / 1.258 GB, free: 2.477 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.5502, allocations: 0 / 1.258 GB, free: 2.477 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007889/0.5509, allocations: 0.7769 MB / 1.259 GB, free: 1.625 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.551, allocations: 0 / 1.259 GB, free: 1.625 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/0.5511, allocations: 23.98 kB / 1.259 GB, free: 1.602 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.5511, allocations: 0 / 1.259 GB, free: 1.602 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.5511, allocations: 8 kB / 1.259 GB, free: 1.594 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.5511, allocations: 0 / 1.259 GB, free: 1.594 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.5511, allocations: 7.938 kB / 1.259 GB, free: 1.586 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004946/0.5516, allocations: 335.4 kB / 1.259 GB, free: 1.227 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.244e-05/0.5517, allocations: 112.8 kB / 1.259 GB, free: 1.098 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.098e-05/0.5518, allocations: 4 kB / 1.259 GB, free: 1.094 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.5519, allocations: 12.05 kB / 1.259 GB, free: 1.082 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.784e-05/0.552, allocations: 16.02 kB / 1.259 GB, free: 1.066 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.552, allocations: 7.938 kB / 1.259 GB, free: 1.059 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001845/0.5522, allocations: 209.9 kB / 1.259 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of sort global known variables: time 2e-07/0.5522, allocations: 0 / 1.259 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000325/0.5525, allocations: 48 kB / 1.259 GB, free: 0.8047 MB / 1.014 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.0003317/0.5528, allocations: 161.1 kB / 1.259 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003334/0.5532, allocations: 119.8 kB / 1.26 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5532, allocations: 0 / 1.26 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001521/0.5534, allocations: 64.64 kB / 1.26 GB, free: 480 kB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006504/0.554, allocations: 125 kB / 1.26 GB, free: 356 kB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5965/1.151, allocations: 484.4 kB / 1.26 GB, free: 176.6 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/1.151, allocations: 0.7555 MB / 1.261 GB, free: 175.9 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002058/1.151, allocations: 48.66 kB / 1.261 GB, free: 175.9 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.814e-05/1.151, allocations: 21.8 kB / 1.261 GB, free: 175.9 MB / 1.014 GB Notification: Performance of SimCode: time 6.51e-07/1.151, allocations: 1.781 kB / 1.261 GB, free: 175.9 MB / 1.014 GB Notification: Performance of Templates: time 0.01136/1.162, allocations: 4.258 MB / 1.265 GB, free: 175.8 MB / 1.014 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