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.001743/0.001743, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001404/0.001404, allocations: 183 kB / 17.34 MB, free: 5.766 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.421/1.421, allocations: 222.9 MB / 241 MB, free: 15.16 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.357/2.357, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 67.91 kB / 0.9516 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8392/0.8407, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.2045/1.045, allocations: 161.4 MB / 1.246 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006593/1.052, allocations: 4.546 MB / 1.251 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005234/1.052, allocations: 11.94 kB / 1.251 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005785/1.053, allocations: 119 kB / 1.251 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001155/1.054, allocations: 346.4 kB / 1.251 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000921/1.055, allocations: 279.2 kB / 1.251 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000848/1.056, allocations: 0.5688 MB / 1.252 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004331/1.056, allocations: 197.2 kB / 1.252 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001171/1.058, allocations: 474.2 kB / 1.253 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003772/1.058, allocations: 191.2 kB / 1.253 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.528e-05/1.058, allocations: 16 kB / 1.253 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002175/1.058, allocations: 79.92 kB / 1.253 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001106/1.058, allocations: 87.72 kB / 1.253 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001462/1.059, allocations: 119.4 kB / 1.253 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004378/1.059, allocations: 297 kB / 1.253 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/1.059, allocations: 0 / 1.253 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.144e-06/1.059, allocations: 7.938 kB / 1.253 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.546e-05/1.059, allocations: 0 / 1.253 GB, free: 5.059 MB / 0.9825 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.0009496/1.06, allocations: 0.5333 MB / 1.254 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/1.06, allocations: 12.03 kB / 1.254 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.07e-05/1.06, allocations: 27.66 kB / 1.254 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000438/1.061, allocations: 287.4 kB / 1.254 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/1.061, allocations: 12 kB / 1.254 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.305e-05/1.061, allocations: 16 kB / 1.254 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004563/1.061, allocations: 265.9 kB / 1.254 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/1.061, allocations: 0 / 1.254 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.515e-05/1.061, allocations: 11.94 kB / 1.254 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.839e-06/1.061, allocations: 12 kB / 1.254 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003426/1.062, allocations: 151.7 kB / 1.255 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001396/1.063, allocations: 1.364 MB / 1.256 GB, free: 2.168 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003007/1.063, allocations: 183.7 kB / 1.256 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/1.064, allocations: 89.11 kB / 1.256 GB, free: 1.828 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003515/1.064, allocations: 125 kB / 1.256 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/1.064, allocations: 46.44 kB / 1.256 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.763e-06/1.064, allocations: 0 / 1.256 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0006522/1.065, allocations: 213.7 kB / 1.257 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.577e-05/1.065, allocations: 187.9 kB / 1.257 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000307/1.065, allocations: 286.9 kB / 1.257 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/1.065, allocations: 29.7 kB / 1.257 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/1.065, allocations: 143.9 kB / 1.257 GB, free: 0.7266 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.054e-05/1.065, allocations: 43.39 kB / 1.257 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.424e-05/1.065, allocations: 33.7 kB / 1.257 GB, free: 0.6445 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001188/1.065, allocations: 342.8 kB / 1.258 GB, free: 308 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/1.066, allocations: 39.97 kB / 1.258 GB, free: 268 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/1.066, allocations: 122 kB / 1.258 GB, free: 120 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003094/1.066, allocations: 158.7 kB / 1.258 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/1.066, allocations: 0 / 1.258 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003867/1.066, allocations: 185.2 kB / 1.258 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/1.066, allocations: 14.28 kB / 1.258 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/1.066, allocations: 0 / 1.258 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/1.067, allocations: 4 kB / 1.258 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/1.067, allocations: 36.14 kB / 1.258 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.487e-06/1.067, allocations: 4 kB / 1.258 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/1.067, allocations: 23.73 kB / 1.258 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.881e-05/1.067, allocations: 12 kB / 1.258 GB, free: 15.66 MB / 0.9981 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.0001479/1.067, allocations: 154.2 kB / 1.258 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/1.067, allocations: 31.59 kB / 1.258 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003287/1.068, allocations: 135.3 kB / 1.258 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/1.068, allocations: 4 kB / 1.258 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/1.068, allocations: 0 / 1.258 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/1.068, allocations: 4 kB / 1.258 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008347/1.068, allocations: 0.7731 MB / 1.259 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/1.068, allocations: 4 kB / 1.259 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/1.069, allocations: 19.98 kB / 1.259 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/1.069, allocations: 4 kB / 1.259 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/1.069, allocations: 0 / 1.259 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/1.069, allocations: 7.938 kB / 1.259 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.069, allocations: 0 / 1.259 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005348/1.069, allocations: 347.4 kB / 1.26 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.89e-05/1.069, allocations: 108.8 kB / 1.26 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.653e-05/1.069, allocations: 4 kB / 1.26 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/1.069, allocations: 12.06 kB / 1.26 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.34e-05/1.069, allocations: 11.92 kB / 1.26 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/1.07, allocations: 4 kB / 1.26 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002265/1.07, allocations: 209.9 kB / 1.26 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.61e-07/1.07, allocations: 0 / 1.26 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003722/1.07, allocations: 63.92 kB / 1.26 GB, free: 13.64 MB / 0.9981 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.0003683/1.071, allocations: 137.1 kB / 1.26 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003653/1.071, allocations: 119.8 kB / 1.26 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.071, allocations: 96 / 1.26 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001466/1.071, allocations: 64.59 kB / 1.26 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007514/1.072, allocations: 126.6 kB / 1.26 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009448/1.073, allocations: 0.514 MB / 1.261 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/1.073, allocations: 0.7635 MB / 1.262 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.648e-05/1.073, allocations: 19.44 kB / 1.262 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of SimCode: time 3.71e-07/1.073, allocations: 4 kB / 1.262 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of Templates: time 0.006954/1.08, allocations: 3.807 MB / 1.265 GB, free: 8.055 MB / 0.9981 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