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.001609/0.001609, allocations: 104.8 kB / 16.27 MB, free: 5.98 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.001907/0.001908, allocations: 189.8 kB / 17.2 MB, free: 5.605 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.398/1.398, allocations: 222.9 MB / 240.9 MB, free: 15.2 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.194/2.194, allocations: 390.3 MB / 0.6653 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 64.41 kB / 0.8132 GB, free: 33.17 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2975, allocations: 140.4 MB / 0.9503 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.7258/1.023, allocations: 161.4 MB / 1.108 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005781/1.029, allocations: 4.556 MB / 1.112 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005738/1.03, allocations: 10.91 kB / 1.112 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005239/1.03, allocations: 121.6 kB / 1.112 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001026/1.031, allocations: 334.7 kB / 1.113 GB, free: 5.562 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001015/1.033, allocations: 272.5 kB / 1.113 GB, free: 5.555 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0009424/1.033, allocations: 0.5533 MB / 1.114 GB, free: 5.555 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004658/1.034, allocations: 208.8 kB / 1.114 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001308/1.035, allocations: 456.1 kB / 1.114 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003096/1.036, allocations: 191.5 kB / 1.114 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.895e-05/1.036, allocations: 17.06 kB / 1.114 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002228/1.036, allocations: 78.52 kB / 1.114 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001241/1.036, allocations: 92.53 kB / 1.115 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001446/1.036, allocations: 118.9 kB / 1.115 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000468/1.037, allocations: 292.2 kB / 1.115 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/1.037, allocations: 0 / 1.115 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.963e-06/1.037, allocations: 2.734 kB / 1.115 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.943e-06/1.037, allocations: 0 / 1.115 GB, free: 5.488 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.001118/1.038, allocations: 0.5317 MB / 1.115 GB, free: 21.06 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/1.038, allocations: 10.11 kB / 1.115 GB, free: 21.06 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.004e-05/1.038, allocations: 33.56 kB / 1.115 GB, free: 21.04 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004192/1.038, allocations: 270.9 kB / 1.116 GB, free: 20.82 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/1.038, allocations: 11.75 kB / 1.116 GB, free: 20.82 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.902e-05/1.038, allocations: 19.16 kB / 1.116 GB, free: 20.82 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00046/1.039, allocations: 260.5 kB / 1.116 GB, free: 20.7 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/1.039, allocations: 3.781 kB / 1.116 GB, free: 20.7 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.465e-05/1.039, allocations: 13.62 kB / 1.116 GB, free: 20.7 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/1.039, allocations: 5.812 kB / 1.116 GB, free: 20.7 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003581/1.039, allocations: 149.7 kB / 1.116 GB, free: 20.7 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001376/1.041, allocations: 1.374 MB / 1.118 GB, free: 19.61 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002893/1.041, allocations: 176.9 kB / 1.118 GB, free: 19.46 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/1.041, allocations: 96.7 kB / 1.118 GB, free: 19.42 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003687/1.042, allocations: 119.2 kB / 1.118 GB, free: 19.32 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/1.042, allocations: 40.72 kB / 1.118 GB, free: 19.28 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/1.042, allocations: 0 / 1.118 GB, free: 19.28 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10): time 0.0006279/1.042, allocations: 210.8 kB / 1.118 GB, free: 19.23 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/1.042, allocations: 192.5 kB / 1.118 GB, free: 19.01 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003177/1.043, allocations: 287.5 kB / 1.119 GB, free: 18.9 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/1.043, allocations: 30.45 kB / 1.119 GB, free: 18.87 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/1.043, allocations: 147.2 kB / 1.119 GB, free: 18.77 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.122e-05/1.043, allocations: 37.78 kB / 1.119 GB, free: 18.75 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.557e-05/1.043, allocations: 37.7 kB / 1.119 GB, free: 18.73 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001438/1.043, allocations: 335.2 kB / 1.119 GB, free: 18.42 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/1.043, allocations: 44.22 kB / 1.119 GB, free: 18.42 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/1.043, allocations: 120 kB / 1.119 GB, free: 18.35 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002909/1.044, allocations: 165.7 kB / 1.119 GB, free: 18.27 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/1.044, allocations: 1.156 kB / 1.119 GB, free: 18.27 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003894/1.044, allocations: 185.3 kB / 1.12 GB, free: 18.23 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/1.044, allocations: 10.97 kB / 1.12 GB, free: 18.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/1.044, allocations: 2.5 kB / 1.12 GB, free: 18.23 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/1.044, allocations: 6.969 kB / 1.12 GB, free: 18.22 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/1.044, allocations: 33.23 kB / 1.12 GB, free: 18.22 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/1.044, allocations: 3.172 kB / 1.12 GB, free: 18.22 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001605/1.045, allocations: 31.08 kB / 1.12 GB, free: 18.21 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.505e-05/1.045, allocations: 7.141 kB / 1.12 GB, free: 18.21 MB / 0.8731 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.0001332/1.045, allocations: 144.6 kB / 1.12 GB, free: 18.1 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/1.045, allocations: 28.61 kB / 1.12 GB, free: 18.08 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003502/1.045, allocations: 134.6 kB / 1.12 GB, free: 18.04 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/1.045, allocations: 3.5 kB / 1.12 GB, free: 18.04 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/1.045, allocations: 3.156 kB / 1.12 GB, free: 18.04 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/1.045, allocations: 1.812 kB / 1.12 GB, free: 18.04 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008481/1.046, allocations: 0.7733 MB / 1.121 GB, free: 17.4 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/1.046, allocations: 1.344 kB / 1.121 GB, free: 17.4 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/1.046, allocations: 25.17 kB / 1.121 GB, free: 17.4 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.242e-05/1.046, allocations: 1.156 kB / 1.121 GB, free: 17.4 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/1.046, allocations: 3.281 kB / 1.121 GB, free: 17.4 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/1.046, allocations: 1.797 kB / 1.121 GB, free: 17.4 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/1.046, allocations: 4.688 kB / 1.121 GB, free: 17.4 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005433/1.047, allocations: 346.5 kB / 1.121 GB, free: 17.21 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/1.047, allocations: 112.4 kB / 1.121 GB, free: 17.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.976e-05/1.047, allocations: 4.75 kB / 1.121 GB, free: 17.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/1.047, allocations: 11.02 kB / 1.121 GB, free: 17.1 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.258e-05/1.047, allocations: 18.55 kB / 1.121 GB, free: 17.09 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-06/1.047, allocations: 7.125 kB / 1.121 GB, free: 17.09 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002328/1.047, allocations: 209.8 kB / 1.122 GB, free: 17.01 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.21e-07/1.048, allocations: 0 / 1.122 GB, free: 17.01 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000369/1.048, allocations: 52.83 kB / 1.122 GB, free: 17 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 (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.000355/1.048, allocations: 155.4 kB / 1.122 GB, free: 16.9 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003675/1.049, allocations: 121.8 kB / 1.122 GB, free: 16.9 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.049, allocations: 448 / 1.122 GB, free: 16.9 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001468/1.049, allocations: 61.25 kB / 1.122 GB, free: 16.9 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007534/1.05, allocations: 129.6 kB / 1.122 GB, free: 16.89 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008599/1.05, allocations: 0.5173 MB / 1.123 GB, free: 16.55 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/1.051, allocations: 0.7524 MB / 1.123 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.574e-05/1.051, allocations: 29.44 kB / 1.123 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of SimCode: time 2.81e-07/1.051, allocations: 2.547 kB / 1.123 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of Templates: time 0.007129/1.058, allocations: 3.785 MB / 1.127 GB, free: 15.54 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/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