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.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.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.00109/0.00109, allocations: 116.2 kB / 16.42 MB, free: 6.023 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.001041/0.001041, allocations: 182.7 kB / 17.35 MB, free: 5.629 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.321/1.321, allocations: 222.9 MB / 241.1 MB, free: 15.15 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.372/2.372, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 71.89 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7576/0.7588, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1688/0.9277, allocations: 169.5 MB / 1.333 GB, free: 9.75 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.008244/0.936, allocations: 7.325 MB / 1.34 GB, free: 2.406 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004497/0.9365, allocations: 15.88 kB / 1.34 GB, free: 2.391 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006535/0.9371, allocations: 214.6 kB / 1.34 GB, free: 2.18 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00143/0.9386, allocations: 0.5926 MB / 1.341 GB, free: 1.586 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001124/0.9398, allocations: 442.3 kB / 1.341 GB, free: 1.156 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0009139/0.9407, allocations: 0.7051 MB / 1.342 GB, free: 460 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004079/0.9411, allocations: 263.1 kB / 1.342 GB, free: 196 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007446/0.9419, allocations: 394.5 kB / 1.342 GB, free: 15.8 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003613/0.9422, allocations: 211.1 kB / 1.343 GB, free: 15.6 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.486e-05/0.9423, allocations: 20 kB / 1.343 GB, free: 15.58 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001181/0.9435, allocations: 0.7093 MB / 1.343 GB, free: 14.87 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001507/0.9437, allocations: 107.7 kB / 1.344 GB, free: 14.76 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.00021/0.9439, allocations: 159.2 kB / 1.344 GB, free: 14.61 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0009353/0.9448, allocations: 0.5667 MB / 1.344 GB, free: 14.04 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.9448, allocations: 0 / 1.344 GB, free: 14.04 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.182e-06/0.9448, allocations: 0 / 1.344 GB, free: 14.04 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.815e-05/0.9449, allocations: 0 / 1.344 GB, free: 14.04 MB / 1.076 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.0009797/0.9458, allocations: 0.6427 MB / 1.345 GB, free: 13.35 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.9459, allocations: 8.625 kB / 1.345 GB, free: 13.34 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003533/0.9463, allocations: 67.53 kB / 1.345 GB, free: 13.27 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004826/0.9467, allocations: 326 kB / 1.345 GB, free: 12.91 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.9468, allocations: 20.44 kB / 1.345 GB, free: 12.89 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.329e-05/0.9468, allocations: 24 kB / 1.345 GB, free: 12.87 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004687/0.9473, allocations: 300.6 kB / 1.346 GB, free: 12.54 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.9473, allocations: 0 / 1.346 GB, free: 12.54 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.908e-05/0.9473, allocations: 15.88 kB / 1.346 GB, free: 12.52 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.9474, allocations: 4 kB / 1.346 GB, free: 12.52 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000358/0.9477, allocations: 175.7 kB / 1.346 GB, free: 12.35 MB / 1.076 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.001562/0.9493, allocations: 1.694 MB / 1.347 GB, free: 10.54 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002328/0.9495, allocations: 94.55 kB / 1.347 GB, free: 10.43 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.9497, allocations: 80.8 kB / 1.348 GB, free: 10.35 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002463/0.95, allocations: 190.1 kB / 1.348 GB, free: 10.13 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.95, allocations: 38.55 kB / 1.348 GB, free: 10.08 MB / 1.076 GB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.95, allocations: 4 kB / 1.348 GB, free: 10.08 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.0006247/0.9506, allocations: 217.2 kB / 1.348 GB, free: 9.859 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.225e-05/0.9507, allocations: 51.41 kB / 1.348 GB, free: 9.797 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002809/0.9509, allocations: 316.5 kB / 1.348 GB, free: 9.48 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.951, allocations: 37.64 kB / 1.348 GB, free: 9.438 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.9511, allocations: 195.8 kB / 1.349 GB, free: 9.242 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.9511, allocations: 35.45 kB / 1.349 GB, free: 9.207 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.672e-05/0.9512, allocations: 53.61 kB / 1.349 GB, free: 9.148 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.9513, allocations: 342.8 kB / 1.349 GB, free: 8.805 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.9515, allocations: 56.81 kB / 1.349 GB, free: 8.746 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002189/0.9517, allocations: 199.7 kB / 1.349 GB, free: 8.492 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003269/0.952, allocations: 237.4 kB / 1.349 GB, free: 8.211 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.952, allocations: 0 / 1.349 GB, free: 8.211 MB / 1.076 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004255/0.9525, allocations: 248.9 kB / 1.35 GB, free: 7.961 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.9525, allocations: 8 kB / 1.35 GB, free: 7.953 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.9525, allocations: 7.984 kB / 1.35 GB, free: 7.945 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.9525, allocations: 4.406 kB / 1.35 GB, free: 7.941 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/0.9527, allocations: 47.92 kB / 1.35 GB, free: 7.895 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.9527, allocations: 7.984 kB / 1.35 GB, free: 7.887 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002296/0.953, allocations: 39.67 kB / 1.35 GB, free: 7.848 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.696e-05/0.953, allocations: 16 kB / 1.35 GB, free: 7.832 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002166/0.9532, allocations: 168.1 kB / 1.35 GB, free: 7.664 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000219/0.9534, allocations: 193 kB / 1.35 GB, free: 7.414 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003159/0.9538, allocations: 233.6 kB / 1.35 GB, free: 7.137 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.543e-06/0.9538, allocations: 0 / 1.35 GB, free: 7.137 MB / 1.076 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004158/0.9542, allocations: 256.8 kB / 1.351 GB, free: 6.879 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 9.207e-06/0.9542, allocations: 11.94 kB / 1.351 GB, free: 6.867 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.9542, allocations: 4 kB / 1.351 GB, free: 6.863 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.278e-06/0.9542, allocations: 4.406 kB / 1.351 GB, free: 6.859 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.9544, allocations: 51.91 kB / 1.351 GB, free: 6.809 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.9544, allocations: 8 kB / 1.351 GB, free: 6.801 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002226/0.9546, allocations: 23.92 kB / 1.351 GB, free: 6.777 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/0.9547, allocations: 12 kB / 1.351 GB, free: 6.766 MB / 1.076 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 8.917e-05/0.9548, allocations: 192.2 kB / 1.351 GB, free: 6.57 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.392e-05/0.9548, allocations: 43.48 kB / 1.351 GB, free: 6.527 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000347/0.9552, allocations: 176.7 kB / 1.351 GB, free: 6.348 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.9552, allocations: 0 / 1.351 GB, free: 6.348 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.9552, allocations: 0 / 1.351 GB, free: 6.348 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.9553, allocations: 116.7 kB / 1.351 GB, free: 6.215 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.497e-05/0.9553, allocations: 4 kB / 1.351 GB, free: 6.211 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/0.9555, allocations: 7.984 kB / 1.351 GB, free: 6.203 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.716e-05/0.9556, allocations: 11.98 kB / 1.351 GB, free: 6.191 MB / 1.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000358/0.9559, allocations: 220.8 kB / 1.351 GB, free: 5.969 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003391/0.9563, allocations: 322.4 kB / 1.352 GB, free: 5.637 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001245/0.9564, allocations: 47.95 kB / 1.352 GB, free: 5.59 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001887/0.9566, allocations: 227 kB / 1.352 GB, free: 5.367 MB / 1.076 GB Notification: Performance of Backend: time 3.31e-07/0.9566, allocations: 4 kB / 1.352 GB, free: 5.363 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001094/0.9577, allocations: 427.6 kB / 1.352 GB, free: 4.949 MB / 1.076 GB Notification: Performance of SimCode: time 0.001082/0.9588, allocations: 0.9899 MB / 1.353 GB, free: 3.914 MB / 1.076 GB Notification: Performance of Templates: time 0.01034/0.9692, allocations: 6.538 MB / 1.36 GB, free: 13.45 MB / 1.092 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