Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.00114/0.00114, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001304/0.001304, allocations: 192.7 kB / 16.14 MB, free: 6.707 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.419/1.419, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.918/2.918, allocations: 472.6 MB / 0.7447 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 63.78 kB / 0.9114 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.394/0.3954, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1922/0.5876, allocations: 167.2 MB / 1.231 GB, free: 3.043 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.009433/0.5971, allocations: 7.332 MB / 1.238 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006481/0.5978, allocations: 15.94 kB / 1.238 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007876/0.5986, allocations: 175 kB / 1.238 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001472/0.6001, allocations: 0.5408 MB / 1.239 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.6014, allocations: 378.5 kB / 1.239 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001262/0.6027, allocations: 1.029 MB / 1.24 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003806/0.6031, allocations: 222.5 kB / 1.24 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007118/0.6038, allocations: 354.5 kB / 1.241 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003209/0.6041, allocations: 231 kB / 1.241 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.354e-05/0.6042, allocations: 19.94 kB / 1.241 GB, free: 8.75 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001347/0.6056, allocations: 0.7833 MB / 1.242 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001245/0.6057, allocations: 95.7 kB / 1.242 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000177/0.6059, allocations: 147.2 kB / 1.242 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008518/0.6067, allocations: 0.5842 MB / 1.242 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.6067, allocations: 0 / 1.242 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of FrontEnd: time 8.92e-07/0.6068, allocations: 0 / 1.242 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.6068, allocations: 0 / 1.242 GB, free: 7.141 MB / 0.9981 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.001225/0.608, allocations: 0.6504 MB / 1.243 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.533e-05/0.6081, allocations: 12.03 kB / 1.243 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004448/0.6085, allocations: 67.52 kB / 1.243 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000453/0.609, allocations: 306.1 kB / 1.243 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/0.609, allocations: 16.44 kB / 1.243 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.732e-05/0.6091, allocations: 20 kB / 1.243 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005774/0.6096, allocations: 304.6 kB / 1.244 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.6097, allocations: 3.938 kB / 1.244 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/0.6097, allocations: 11.94 kB / 1.244 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.6097, allocations: 8 kB / 1.244 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003843/0.6101, allocations: 179.5 kB / 1.244 GB, free: 5.453 MB / 0.9981 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.001687/0.6118, allocations: 1.69 MB / 1.246 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002595/0.6121, allocations: 86.47 kB / 1.246 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/0.6123, allocations: 92.86 kB / 1.246 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002814/0.6126, allocations: 182.1 kB / 1.246 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.6126, allocations: 38.56 kB / 1.246 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.483e-06/0.6126, allocations: 0 / 1.246 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.0007212/0.6133, allocations: 217.5 kB / 1.246 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.6134, allocations: 63.33 kB / 1.246 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003455/0.6137, allocations: 324.4 kB / 1.247 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.6138, allocations: 29.7 kB / 1.247 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.6139, allocations: 191.9 kB / 1.247 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.323e-05/0.614, allocations: 39.39 kB / 1.247 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.586e-05/0.6141, allocations: 57.61 kB / 1.247 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.6142, allocations: 338.8 kB / 1.247 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.6144, allocations: 56.81 kB / 1.247 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002712/0.6147, allocations: 193.5 kB / 1.247 GB, free: 1.602 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003938/0.6151, allocations: 241.4 kB / 1.248 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.6151, allocations: 0 / 1.248 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000508/0.6156, allocations: 253.1 kB / 1.248 GB, free: 1.062 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.6156, allocations: 8 kB / 1.248 GB, free: 1.055 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.6157, allocations: 4 kB / 1.248 GB, free: 1.051 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.6157, allocations: 7.984 kB / 1.248 GB, free: 1.043 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/0.6159, allocations: 47.91 kB / 1.248 GB, free: 0.9961 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.6159, allocations: 12.28 kB / 1.248 GB, free: 0.9844 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003051/0.6162, allocations: 43.72 kB / 1.248 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.258e-05/0.6163, allocations: 16 kB / 1.248 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002558/0.6165, allocations: 168.1 kB / 1.248 GB, free: 0.7578 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002588/0.6168, allocations: 196.9 kB / 1.248 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003468/0.6171, allocations: 237.4 kB / 1.249 GB, free: 228 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.683e-06/0.6172, allocations: 0 / 1.249 GB, free: 228 kB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.6455/1.263, allocations: 249.2 kB / 1.249 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/1.263, allocations: 11.81 kB / 1.249 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/1.263, allocations: 4.25 kB / 1.249 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/1.263, allocations: 4.562 kB / 1.249 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/1.263, allocations: 46.09 kB / 1.249 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.301e-05/1.263, allocations: 9.453 kB / 1.249 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003779/1.263, allocations: 30.5 kB / 1.249 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.974e-05/1.263, allocations: 15.7 kB / 1.249 GB, free: 186.9 MB / 0.9981 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.0001224/1.264, allocations: 195.5 kB / 1.249 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.964e-05/1.264, allocations: 34.31 kB / 1.249 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004829/1.264, allocations: 168.3 kB / 1.249 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/1.264, allocations: 3.016 kB / 1.249 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/1.264, allocations: 1.125 kB / 1.249 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/1.264, allocations: 0.5625 kB / 1.249 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009868/1.265, allocations: 0.6051 MB / 1.25 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/1.265, allocations: 2.219 kB / 1.25 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001297/1.265, allocations: 23.56 kB / 1.25 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/1.265, allocations: 6.656 kB / 1.25 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/1.265, allocations: 7.094 kB / 1.25 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/1.265, allocations: 3.312 kB / 1.25 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.86e-06/1.265, allocations: 5.406 kB / 1.25 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003744/1.266, allocations: 300.2 kB / 1.25 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.267e-05/1.266, allocations: 119.4 kB / 1.25 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.578e-05/1.266, allocations: 7.703 kB / 1.25 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002025/1.266, allocations: 21.41 kB / 1.25 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.441e-05/1.266, allocations: 16.19 kB / 1.25 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/1.266, allocations: 5 kB / 1.25 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002622/1.267, allocations: 225.8 kB / 1.251 GB, free: 186 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/1.267, allocations: 0.7188 kB / 1.251 GB, free: 186 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006672/1.267, allocations: 130 kB / 1.251 GB, free: 186 MB / 0.9981 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.0004496/1.268, allocations: 172.6 kB / 1.251 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006792/1.268, allocations: 245.7 kB / 1.251 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.268, allocations: 0 / 1.251 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001672/1.269, allocations: 67.22 kB / 1.251 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/1.27, allocations: 145.1 kB / 1.251 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008477/1.27, allocations: 0.5773 MB / 1.252 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/1.271, allocations: 0.7807 MB / 1.253 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003078/1.271, allocations: 82.42 kB / 1.253 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.428e-05/1.271, allocations: 26.83 kB / 1.253 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of SimCode: time 2.11e-07/1.271, allocations: 0 / 1.253 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.01127/1.282, allocations: 4.753 MB / 1.257 GB, free: 184.5 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_Pressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches