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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001088/0.001088, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.416/1.416, allocations: 223.3 MB / 241 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.737/2.737, allocations: 437.8 MB / 0.7128 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000391/0.0003911, allocations: 12 kB / 0.8735 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7544/0.7549, allocations: 153.8 MB / 1.024 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1805/0.9354, allocations: 157.1 MB / 1.177 GB, free: 2.238 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.006075/0.9415, allocations: 4.495 MB / 1.181 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004286/0.942, allocations: 7.938 kB / 1.181 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004685/0.9425, allocations: 99.34 kB / 1.182 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001068/0.9436, allocations: 314.7 kB / 1.182 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008604/0.9445, allocations: 247.3 kB / 1.182 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0009793/0.9455, allocations: 0.7873 MB / 1.183 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003786/0.9458, allocations: 169.4 kB / 1.183 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001106/0.947, allocations: 422.4 kB / 1.183 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003769/0.9474, allocations: 195.2 kB / 1.184 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.336e-05/0.9474, allocations: 12 kB / 1.184 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002036/0.9476, allocations: 75.88 kB / 1.184 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.9477, allocations: 87.7 kB / 1.184 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000159/0.9479, allocations: 133.1 kB / 1.184 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003071/0.9482, allocations: 207.5 kB / 1.184 GB, free: 11 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.9482, allocations: 0 / 1.184 GB, free: 11 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.024e-06/0.9483, allocations: 0 / 1.184 GB, free: 11 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.9483, allocations: 0 / 1.184 GB, free: 11 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.0008513/0.9491, allocations: 0.4907 MB / 1.185 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.9492, allocations: 12.03 kB / 1.185 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.217e-05/0.9493, allocations: 27.66 kB / 1.185 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004276/0.9497, allocations: 271.4 kB / 1.185 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.9497, allocations: 12 kB / 1.185 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.182e-05/0.9498, allocations: 20 kB / 1.185 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005022/0.9503, allocations: 273.6 kB / 1.185 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.9503, allocations: 7.938 kB / 1.185 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.49e-05/0.9503, allocations: 11.92 kB / 1.185 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.9504, allocations: 8 kB / 1.185 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003684/0.9507, allocations: 159.8 kB / 1.185 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/0.9521, allocations: 1.379 MB / 1.187 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003034/0.9525, allocations: 183.7 kB / 1.187 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001852/0.9527, allocations: 101 kB / 1.187 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003723/0.953, allocations: 133 kB / 1.187 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.9531, allocations: 54.34 kB / 1.187 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.9531, allocations: 0 / 1.187 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0006552/0.9538, allocations: 221.8 kB / 1.187 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.245e-05/0.9539, allocations: 187.9 kB / 1.188 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003155/0.9542, allocations: 287 kB / 1.188 GB, free: 6.832 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.9542, allocations: 29.7 kB / 1.188 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.9543, allocations: 147.9 kB / 1.188 GB, free: 6.648 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.035e-05/0.9544, allocations: 35.53 kB / 1.188 GB, free: 6.613 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.328e-05/0.9544, allocations: 17.72 kB / 1.188 GB, free: 6.59 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.9545, allocations: 334.8 kB / 1.188 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.9547, allocations: 55.95 kB / 1.188 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/0.9549, allocations: 121.9 kB / 1.189 GB, free: 6.055 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003205/0.9552, allocations: 170.7 kB / 1.189 GB, free: 5.863 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.9552, allocations: 4 kB / 1.189 GB, free: 5.859 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004209/0.9557, allocations: 193.2 kB / 1.189 GB, free: 5.664 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.9557, allocations: 14.12 kB / 1.189 GB, free: 5.652 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.9557, allocations: 0 / 1.189 GB, free: 5.652 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.9557, allocations: 4 kB / 1.189 GB, free: 5.648 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.9559, allocations: 44.12 kB / 1.189 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.9559, allocations: 7.938 kB / 1.189 GB, free: 5.598 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.9561, allocations: 27.83 kB / 1.189 GB, free: 5.57 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.05e-05/0.9562, allocations: 4 kB / 1.189 GB, free: 5.566 MB / 0.9356 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.0001607/0.9563, allocations: 153.8 kB / 1.189 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.9565, allocations: 31.64 kB / 1.189 GB, free: 5.375 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003631/0.9568, allocations: 150.9 kB / 1.189 GB, free: 5.223 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.9569, allocations: 4 kB / 1.189 GB, free: 5.219 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.9569, allocations: 0 / 1.189 GB, free: 5.219 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.9569, allocations: 0 / 1.189 GB, free: 5.219 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008914/0.9578, allocations: 0.7733 MB / 1.19 GB, free: 4.371 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.9578, allocations: 0 / 1.19 GB, free: 4.371 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/0.9579, allocations: 35.92 kB / 1.19 GB, free: 4.336 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.958, allocations: 4 kB / 1.19 GB, free: 4.332 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.958, allocations: 8.156 kB / 1.19 GB, free: 4.324 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.958, allocations: 0 / 1.19 GB, free: 4.324 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.958, allocations: 4 kB / 1.19 GB, free: 4.32 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005651/0.9586, allocations: 355.4 kB / 1.19 GB, free: 3.941 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.9587, allocations: 104.8 kB / 1.191 GB, free: 3.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.506e-05/0.9587, allocations: 4.062 kB / 1.191 GB, free: 3.816 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.9589, allocations: 19.98 kB / 1.191 GB, free: 3.797 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.222e-05/0.9589, allocations: 15.86 kB / 1.191 GB, free: 3.781 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-06/0.959, allocations: 4 kB / 1.191 GB, free: 3.777 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000205/0.9592, allocations: 209.9 kB / 1.191 GB, free: 3.57 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9592, allocations: 0 / 1.191 GB, free: 3.57 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003563/0.9595, allocations: 51.94 kB / 1.191 GB, free: 3.52 MB / 0.9356 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.000362/0.9599, allocations: 147.2 kB / 1.191 GB, free: 3.367 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000376/0.9603, allocations: 128 kB / 1.191 GB, free: 3.242 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.9603, allocations: 4 kB / 1.191 GB, free: 3.238 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.9605, allocations: 63.89 kB / 1.191 GB, free: 3.176 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008521/0.9613, allocations: 126.4 kB / 1.191 GB, free: 3.055 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.9624, allocations: 0.5969 MB / 1.192 GB, free: 2.406 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004045/0.9629, allocations: 0.7638 MB / 1.193 GB, free: 1.617 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.032e-05/0.9629, allocations: 19.44 kB / 1.193 GB, free: 1.598 MB / 0.9356 GB Notification: Performance of SimCode: time 5.81e-07/0.9629, allocations: 0 / 1.193 GB, free: 1.598 MB / 0.9356 GB Notification: Performance of Templates: time 0.008278/0.9712, allocations: 3.759 MB / 1.196 GB, free: 13.88 MB / 0.9512 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