Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001578/0.001578, allocations: 104.3 kB / 15.98 MB, free: 6.355 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.001574/0.001574, allocations: 198.8 kB / 16.91 MB, free: 6.188 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.413/1.413, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.65/2.65, allocations: 469.8 MB / 0.7427 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 73.83 kB / 0.9087 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3399, allocations: 159.1 MB / 1.064 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.7193/1.059, allocations: 159.2 MB / 1.22 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006339/1.066, allocations: 4.494 MB / 1.224 GB, free: 3.191 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004812/1.066, allocations: 14.25 kB / 1.224 GB, free: 3.184 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000505/1.067, allocations: 104.5 kB / 1.224 GB, free: 3.094 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0009081/1.068, allocations: 313.5 kB / 1.224 GB, free: 2.859 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008655/1.069, allocations: 255.4 kB / 1.225 GB, free: 2.688 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000726/1.069, allocations: 0.5652 MB / 1.225 GB, free: 2.367 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000336/1.07, allocations: 190.3 kB / 1.225 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001011/1.071, allocations: 449.4 kB / 1.226 GB, free: 1.988 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002868/1.071, allocations: 206 kB / 1.226 GB, free: 1.871 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.284e-05/1.071, allocations: 22.16 kB / 1.226 GB, free: 1.867 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001834/1.071, allocations: 79.11 kB / 1.226 GB, free: 1.836 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001101/1.071, allocations: 85.08 kB / 1.226 GB, free: 1.781 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001263/1.071, allocations: 119.2 kB / 1.226 GB, free: 1.707 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003216/1.072, allocations: 216.5 kB / 1.226 GB, free: 1.57 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/1.072, allocations: 0 / 1.226 GB, free: 1.57 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.956e-06/1.072, allocations: 7.938 kB / 1.226 GB, free: 1.562 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.809e-06/1.072, allocations: 0 / 1.226 GB, free: 1.562 MB / 0.9356 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.0009495/1.073, allocations: 0.5278 MB / 1.227 GB, free: 1.066 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/1.073, allocations: 11.06 kB / 1.227 GB, free: 1.066 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.103e-05/1.073, allocations: 28.69 kB / 1.227 GB, free: 1.051 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004125/1.073, allocations: 279.2 kB / 1.227 GB, free: 0.7773 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/1.073, allocations: 15.34 kB / 1.227 GB, free: 0.7695 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.251e-05/1.073, allocations: 21.19 kB / 1.227 GB, free: 0.7617 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004946/1.074, allocations: 258 kB / 1.228 GB, free: 0.5547 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/1.074, allocations: 7.938 kB / 1.228 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.663e-05/1.074, allocations: 14.69 kB / 1.228 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/1.074, allocations: 5.125 kB / 1.228 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003294/1.074, allocations: 143.4 kB / 1.228 GB, free: 480 kB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001486/1.076, allocations: 1.362 MB / 1.229 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003148/1.076, allocations: 179.9 kB / 1.229 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001743/1.076, allocations: 99.36 kB / 1.229 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003897/1.077, allocations: 116.3 kB / 1.229 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/1.077, allocations: 41.06 kB / 1.229 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/1.077, allocations: 0 / 1.229 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of matching and sorting (n=10): time 0.0006145/1.077, allocations: 209.1 kB / 1.23 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/1.078, allocations: 195.2 kB / 1.23 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002937/1.078, allocations: 281.6 kB / 1.23 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.391e-05/1.078, allocations: 31.83 kB / 1.23 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/1.078, allocations: 150.4 kB / 1.23 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.953e-05/1.078, allocations: 40.31 kB / 1.23 GB, free: 14 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.593e-05/1.078, allocations: 42.89 kB / 1.23 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001608/1.078, allocations: 334.9 kB / 1.231 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/1.078, allocations: 43.47 kB / 1.231 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000191/1.079, allocations: 123 kB / 1.231 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002853/1.079, allocations: 153.2 kB / 1.231 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.079, allocations: 0 / 1.231 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003552/1.079, allocations: 195.5 kB / 1.231 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/1.079, allocations: 11.44 kB / 1.231 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/1.079, allocations: 6.844 kB / 1.231 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/1.079, allocations: 3.938 kB / 1.231 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/1.079, allocations: 30.2 kB / 1.231 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/1.08, allocations: 2.812 kB / 1.231 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/1.08, allocations: 30.67 kB / 1.231 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.791e-05/1.08, allocations: 11.42 kB / 1.231 GB, free: 13.24 MB / 0.9512 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.0001421/1.08, allocations: 145.6 kB / 1.231 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/1.08, allocations: 28.06 kB / 1.231 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003378/1.08, allocations: 129.3 kB / 1.232 GB, free: 13 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/1.08, allocations: 3.625 kB / 1.232 GB, free: 13 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/1.08, allocations: 5.75 kB / 1.232 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/1.08, allocations: 9.766 kB / 1.232 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000878/1.081, allocations: 0.7689 MB / 1.232 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/1.081, allocations: 0 / 1.232 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001254/1.081, allocations: 29.14 kB / 1.232 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/1.081, allocations: 5.75 kB / 1.232 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/1.081, allocations: 7.078 kB / 1.232 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/1.081, allocations: 2.438 kB / 1.232 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/1.081, allocations: 1.969 kB / 1.232 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000514/1.082, allocations: 339.4 kB / 1.233 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/1.082, allocations: 112 kB / 1.233 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.337e-05/1.082, allocations: 1.594 kB / 1.233 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/1.082, allocations: 10.39 kB / 1.233 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.735e-05/1.082, allocations: 16.81 kB / 1.233 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/1.082, allocations: 3.188 kB / 1.233 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002008/1.083, allocations: 219.4 kB / 1.233 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/1.083, allocations: 3.938 kB / 1.233 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003282/1.083, allocations: 58.88 kB / 1.233 GB, free: 11.64 MB / 0.9512 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.0003827/1.083, allocations: 143.4 kB / 1.233 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003616/1.084, allocations: 123.8 kB / 1.233 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.084, allocations: 0 / 1.233 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001539/1.084, allocations: 60.58 kB / 1.233 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007488/1.085, allocations: 129.2 kB / 1.234 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/1.086, allocations: 0.5663 MB / 1.234 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004125/1.086, allocations: 0.7519 MB / 1.235 GB, free: 9.816 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.753e-05/1.086, allocations: 31.42 kB / 1.235 GB, free: 9.785 MB / 0.9512 GB Notification: Performance of SimCode: time 3.31e-07/1.086, allocations: 0 / 1.235 GB, free: 9.785 MB / 0.9512 GB Notification: Performance of Templates: time 0.007479/1.094, allocations: 3.798 MB / 1.239 GB, free: 6.027 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches