Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.0012/0.0012, allocations: 104.6 kB / 16.27 MB, free: 5.984 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.001233/0.001233, allocations: 189 kB / 17.2 MB, free: 5.609 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.363/1.363, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.564/2.564, allocations: 437.1 MB / 0.711 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 64.09 kB / 0.8699 GB, free: 2.254 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2987, allocations: 151.6 MB / 1.018 GB, free: 10.71 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.7631/1.062, allocations: 161.4 MB / 1.176 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00577/1.068, allocations: 4.55 MB / 1.18 GB, free: 9.164 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005079/1.068, allocations: 10.19 kB / 1.18 GB, free: 9.16 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0004745/1.069, allocations: 121.4 kB / 1.18 GB, free: 9.055 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0008723/1.07, allocations: 332.2 kB / 1.18 GB, free: 8.801 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008994/1.071, allocations: 275 kB / 1.181 GB, free: 8.605 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0007761/1.071, allocations: 0.5658 MB / 1.181 GB, free: 8.281 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004165/1.072, allocations: 204.7 kB / 1.181 GB, free: 8.16 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001532/1.073, allocations: 464.8 kB / 1.182 GB, free: 7.871 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003975/1.074, allocations: 184.5 kB / 1.182 GB, free: 7.77 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.549e-05/1.074, allocations: 15.94 kB / 1.182 GB, free: 7.77 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003019/1.074, allocations: 75.86 kB / 1.182 GB, free: 7.742 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001616/1.074, allocations: 92.91 kB / 1.182 GB, free: 7.68 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.000209/1.075, allocations: 122.8 kB / 1.182 GB, free: 7.602 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0005278/1.075, allocations: 289.3 kB / 1.183 GB, free: 7.414 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/1.075, allocations: 1.312 kB / 1.183 GB, free: 7.414 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.673e-06/1.075, allocations: 4 kB / 1.183 GB, free: 7.41 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.51e-05/1.075, allocations: 0 / 1.183 GB, free: 7.41 MB / 0.8887 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.001098/1.076, allocations: 0.5219 MB / 1.183 GB, free: 6.922 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/1.076, allocations: 13.5 kB / 1.183 GB, free: 6.918 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.261e-05/1.076, allocations: 28.56 kB / 1.183 GB, free: 6.902 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004637/1.077, allocations: 274.8 kB / 1.183 GB, free: 6.633 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/1.077, allocations: 16.03 kB / 1.183 GB, free: 6.625 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.527e-05/1.077, allocations: 17.44 kB / 1.183 GB, free: 6.621 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005349/1.078, allocations: 261.7 kB / 1.184 GB, free: 6.41 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/1.078, allocations: 3.984 kB / 1.184 GB, free: 6.406 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.058e-05/1.078, allocations: 18.69 kB / 1.184 GB, free: 6.391 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/1.078, allocations: 5.5 kB / 1.184 GB, free: 6.391 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003975/1.078, allocations: 152.5 kB / 1.184 GB, free: 6.316 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001728/1.08, allocations: 1.361 MB / 1.185 GB, free: 5.016 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003558/1.08, allocations: 184.6 kB / 1.185 GB, free: 4.824 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002026/1.08, allocations: 95.86 kB / 1.185 GB, free: 4.746 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003987/1.081, allocations: 116.1 kB / 1.186 GB, free: 4.637 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/1.081, allocations: 45 kB / 1.186 GB, free: 4.586 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=10): time 1.883e-06/1.081, allocations: 0 / 1.186 GB, free: 4.586 MB / 0.8887 GB Notification: Performance of matching and sorting (n=10): time 0.0006826/1.082, allocations: 214.7 kB / 1.186 GB, free: 4.461 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.907e-05/1.082, allocations: 187 kB / 1.186 GB, free: 4.238 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003059/1.082, allocations: 289.4 kB / 1.186 GB, free: 4.055 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/1.082, allocations: 27.05 kB / 1.186 GB, free: 4.023 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/1.082, allocations: 147.3 kB / 1.186 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.375e-05/1.082, allocations: 32.78 kB / 1.186 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.252e-05/1.082, allocations: 43.14 kB / 1.187 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001303/1.082, allocations: 332.4 kB / 1.187 GB, free: 3.496 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/1.082, allocations: 44.28 kB / 1.187 GB, free: 3.477 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000197/1.083, allocations: 127 kB / 1.187 GB, free: 3.363 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002906/1.083, allocations: 156.8 kB / 1.187 GB, free: 3.242 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/1.083, allocations: 1.375 kB / 1.187 GB, free: 3.242 MB / 0.8887 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003798/1.083, allocations: 187.3 kB / 1.187 GB, free: 3.137 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/1.083, allocations: 12.84 kB / 1.187 GB, free: 3.129 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/1.083, allocations: 2.625 kB / 1.187 GB, free: 3.129 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/1.083, allocations: 2.562 kB / 1.187 GB, free: 3.129 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/1.084, allocations: 35.36 kB / 1.187 GB, free: 3.117 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/1.084, allocations: 6.922 kB / 1.187 GB, free: 3.113 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/1.084, allocations: 26.72 kB / 1.187 GB, free: 3.102 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.615e-05/1.084, allocations: 10.61 kB / 1.187 GB, free: 3.098 MB / 0.8887 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.0001414/1.084, allocations: 147.9 kB / 1.188 GB, free: 2.961 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/1.084, allocations: 31.16 kB / 1.188 GB, free: 2.941 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003374/1.084, allocations: 126.2 kB / 1.188 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/1.084, allocations: 2.5 kB / 1.188 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/1.084, allocations: 5.219 kB / 1.188 GB, free: 2.855 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/1.084, allocations: 5.547 kB / 1.188 GB, free: 2.852 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007983/1.085, allocations: 0.7714 MB / 1.188 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/1.085, allocations: 2.875 kB / 1.188 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/1.085, allocations: 25.48 kB / 1.189 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/1.085, allocations: 1.438 kB / 1.189 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/1.085, allocations: 2.344 kB / 1.189 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/1.085, allocations: 10.73 kB / 1.189 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/1.085, allocations: 5.344 kB / 1.189 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005228/1.086, allocations: 341 kB / 1.189 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 9.759e-05/1.086, allocations: 111.9 kB / 1.189 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.58e-05/1.086, allocations: 1.5 kB / 1.189 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/1.086, allocations: 13.64 kB / 1.189 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.976e-05/1.086, allocations: 12.72 kB / 1.189 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/1.086, allocations: 3.438 kB / 1.189 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001914/1.087, allocations: 210.4 kB / 1.189 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.41e-07/1.087, allocations: 0 / 1.189 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003557/1.087, allocations: 60.64 kB / 1.189 GB, free: 1.512 MB / 0.8887 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.0003527/1.087, allocations: 151.5 kB / 1.189 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0003622/1.088, allocations: 120.8 kB / 1.19 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.088, allocations: 1.219 kB / 1.19 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001462/1.088, allocations: 58.09 kB / 1.19 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007781/1.089, allocations: 135 kB / 1.19 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008781/1.089, allocations: 0.508 MB / 1.19 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/1.09, allocations: 0.7616 MB / 1.191 GB, free: 116 kB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.84e-05/1.09, allocations: 23.09 kB / 1.191 GB, free: 108 kB / 0.8887 GB Notification: Performance of SimCode: time 2.1e-07/1.09, allocations: 0 / 1.191 GB, free: 108 kB / 0.8887 GB Notification: Performance of Templates: time 0.006303/1.096, allocations: 3.793 MB / 1.195 GB, free: 14.17 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches