Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure.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.Pressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp.port_a.m_flow|senRelPre.p_rel|senPre_a.p|senPre_b.p",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure") translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp.port_a.m_flow|senRelPre.p_rel|senPre_a.p|senPre_b.p",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001727/0.001727, allocations: 100.1 kB / 15.88 MB, free: 12 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.001892/0.001892, allocations: 196 kB / 16.79 MB, free: 6.809 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.556/1.556, allocations: 222.9 MB / 240.5 MB, free: 4.602 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.633/2.633, allocations: 437 MB / 0.7106 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001524, allocations: 59.91 kB / 0.8692 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7369/0.7385, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.186/0.9245, allocations: 167.2 MB / 1.181 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.008911/0.9335, allocations: 7.357 MB / 1.188 GB, free: 3.59 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005252/0.9341, allocations: 15.88 kB / 1.188 GB, free: 3.574 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0007922/0.9349, allocations: 171 kB / 1.188 GB, free: 3.406 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001661/0.9366, allocations: 0.5408 MB / 1.188 GB, free: 2.863 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.938, allocations: 375.5 kB / 1.189 GB, free: 2.5 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001331/0.9393, allocations: 1.029 MB / 1.19 GB, free: 1.465 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004971/0.9398, allocations: 222.4 kB / 1.19 GB, free: 1.246 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008635/0.9407, allocations: 346.5 kB / 1.19 GB, free: 0.9062 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004412/0.9412, allocations: 231 kB / 1.191 GB, free: 0.6797 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.051e-05/0.9412, allocations: 12 kB / 1.191 GB, free: 0.668 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001367/0.9426, allocations: 0.7794 MB / 1.191 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001537/0.9428, allocations: 111.6 kB / 1.191 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002166/0.943, allocations: 147.2 kB / 1.192 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006256/0.9436, allocations: 399.2 kB / 1.192 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.9436, allocations: 0 / 1.192 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.062e-06/0.9437, allocations: 4 kB / 1.192 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.036e-05/0.9437, allocations: 0 / 1.192 GB, free: 15.24 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001047/0.9447, allocations: 0.6445 MB / 1.193 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.9448, allocations: 12.03 kB / 1.193 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004166/0.9452, allocations: 67.52 kB / 1.193 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004562/0.9457, allocations: 302.2 kB / 1.193 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.9457, allocations: 16.44 kB / 1.193 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.252e-05/0.9457, allocations: 24 kB / 1.193 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005274/0.9463, allocations: 300.6 kB / 1.193 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.9463, allocations: 3.938 kB / 1.193 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.452e-05/0.9463, allocations: 15.94 kB / 1.193 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.9463, allocations: 8 kB / 1.193 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003921/0.9467, allocations: 175.5 kB / 1.193 GB, free: 13.56 MB / 0.9512 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001781/0.9485, allocations: 1.69 MB / 1.195 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002697/0.9488, allocations: 90.47 kB / 1.195 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001883/0.949, allocations: 84.81 kB / 1.195 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003018/0.9493, allocations: 186.1 kB / 1.195 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.9494, allocations: 38.56 kB / 1.196 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=11): time 1.332e-06/0.9494, allocations: 0 / 1.196 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.0006997/0.9501, allocations: 221.1 kB / 1.196 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.9501, allocations: 63.33 kB / 1.196 GB, free: 11 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003438/0.9505, allocations: 320.5 kB / 1.196 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.9505, allocations: 29.7 kB / 1.196 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/0.9507, allocations: 207.8 kB / 1.196 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/0.9507, allocations: 35.45 kB / 1.196 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.415e-05/0.9508, allocations: 49.7 kB / 1.196 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.9509, allocations: 338.8 kB / 1.197 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.9511, allocations: 56.81 kB / 1.197 GB, free: 9.949 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002572/0.9514, allocations: 189.1 kB / 1.197 GB, free: 9.703 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000379/0.9518, allocations: 241.4 kB / 1.197 GB, free: 9.418 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/0.9518, allocations: 7.984 kB / 1.197 GB, free: 9.41 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000498/0.9523, allocations: 252.8 kB / 1.197 GB, free: 9.156 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.9523, allocations: 8.406 kB / 1.197 GB, free: 9.148 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.9523, allocations: 11.94 kB / 1.197 GB, free: 9.137 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.9524, allocations: 7.938 kB / 1.197 GB, free: 9.129 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001882/0.9525, allocations: 47.91 kB / 1.198 GB, free: 9.082 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.9526, allocations: 7.938 kB / 1.198 GB, free: 9.074 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002783/0.9529, allocations: 43.66 kB / 1.198 GB, free: 9.031 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.267e-05/0.9529, allocations: 16 kB / 1.198 GB, free: 9.016 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000251/0.9531, allocations: 164.1 kB / 1.198 GB, free: 8.852 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002613/0.9534, allocations: 198.6 kB / 1.198 GB, free: 8.598 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003492/0.9538, allocations: 229.4 kB / 1.198 GB, free: 8.324 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.753e-06/0.9538, allocations: 0 / 1.198 GB, free: 8.324 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004655/0.9543, allocations: 245.3 kB / 1.198 GB, free: 8.078 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.9543, allocations: 16 kB / 1.198 GB, free: 8.062 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.9543, allocations: 4 kB / 1.198 GB, free: 8.059 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.47e-06/0.9543, allocations: 4 kB / 1.198 GB, free: 8.055 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/0.9545, allocations: 51.91 kB / 1.198 GB, free: 8.004 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.588e-05/0.9545, allocations: 7.938 kB / 1.198 GB, free: 7.996 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002651/0.9548, allocations: 31.83 kB / 1.198 GB, free: 7.965 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.9548, allocations: 11.98 kB / 1.199 GB, free: 7.953 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (23): * Single equations (assignments): 23 * 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.0001253/0.9549, allocations: 200.2 kB / 1.199 GB, free: 7.75 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.907e-05/0.955, allocations: 31.56 kB / 1.199 GB, free: 7.719 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003842/0.9554, allocations: 164.4 kB / 1.199 GB, free: 7.551 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.9554, allocations: 4.281 kB / 1.199 GB, free: 7.547 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.9554, allocations: 0 / 1.199 GB, free: 7.547 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.9554, allocations: 0 / 1.199 GB, free: 7.547 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.9564, allocations: 0.6093 MB / 1.199 GB, free: 6.859 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.9565, allocations: 8.141 kB / 1.199 GB, free: 6.852 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.9566, allocations: 31.98 kB / 1.2 GB, free: 6.82 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.9566, allocations: 4 kB / 1.2 GB, free: 6.816 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.9566, allocations: 0 / 1.2 GB, free: 6.816 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.9566, allocations: 4 kB / 1.2 GB, free: 6.812 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.9567, allocations: 7.938 kB / 1.2 GB, free: 6.805 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004574/0.9571, allocations: 293.1 kB / 1.2 GB, free: 6.48 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001494/0.9573, allocations: 120.7 kB / 1.2 GB, free: 6.344 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.481e-05/0.9573, allocations: 11.94 kB / 1.2 GB, free: 6.332 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/0.9575, allocations: 15.98 kB / 1.2 GB, free: 6.316 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.328e-05/0.9576, allocations: 19.86 kB / 1.2 GB, free: 6.297 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.9576, allocations: 8 kB / 1.2 GB, free: 6.289 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002367/0.9579, allocations: 227 kB / 1.2 GB, free: 6.066 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9579, allocations: 0 / 1.2 GB, free: 6.066 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006099/0.9585, allocations: 131.8 kB / 1.2 GB, free: 5.938 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (11): * Single equations (assignments): 11 * 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.0004695/0.959, allocations: 168.1 kB / 1.2 GB, free: 5.773 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006096/0.9596, allocations: 245.7 kB / 1.201 GB, free: 5.535 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.9596, allocations: 0 / 1.201 GB, free: 5.535 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.9598, allocations: 63.89 kB / 1.201 GB, free: 5.473 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009357/0.9607, allocations: 138.4 kB / 1.201 GB, free: 5.336 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009599/0.9617, allocations: 0.6175 MB / 1.202 GB, free: 4.66 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.962, allocations: 0.7758 MB / 1.202 GB, free: 3.859 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.04e-05/0.9621, allocations: 31.44 kB / 1.202 GB, free: 3.828 MB / 0.9512 GB Notification: Performance of SimCode: time 2.3e-07/0.9621, allocations: 0 / 1.202 GB, free: 3.828 MB / 0.9512 GB Notification: Performance of Templates: time 0.008637/0.9708, allocations: 4.49 MB / 1.207 GB, free: 15.38 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_Pressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches