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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001164/0.001164, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.00123/0.00123, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.553/2.553, allocations: 436.5 MB / 0.7104 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004546/0.0004549, allocations: 8 kB / 0.8708 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6474/0.6479, allocations: 153.7 MB / 1.021 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1503/0.7983, allocations: 141.8 MB / 1.159 GB, free: 2.992 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.006702/0.805, allocations: 5.999 MB / 1.165 GB, free: 12.98 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002609/0.8053, allocations: 11.88 kB / 1.165 GB, free: 12.97 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006611/0.806, allocations: 223 kB / 1.165 GB, free: 12.75 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001234/0.8072, allocations: 0.5258 MB / 1.166 GB, free: 12.23 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.8083, allocations: 432.7 kB / 1.166 GB, free: 11.81 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005874/0.8089, allocations: 427.5 kB / 1.167 GB, free: 11.39 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003309/0.8092, allocations: 204.8 kB / 1.167 GB, free: 11.19 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004377/0.8097, allocations: 259.1 kB / 1.167 GB, free: 10.93 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001782/0.8099, allocations: 143.4 kB / 1.167 GB, free: 10.79 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.911e-05/0.8099, allocations: 8 kB / 1.167 GB, free: 10.79 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006802/0.8106, allocations: 379.4 kB / 1.168 GB, free: 10.41 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.8107, allocations: 95.64 kB / 1.168 GB, free: 10.32 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.94e-05/0.8108, allocations: 81.58 kB / 1.168 GB, free: 10.23 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000429/0.8112, allocations: 339.2 kB / 1.168 GB, free: 9.902 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.8112, allocations: 0 / 1.168 GB, free: 9.902 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8113, allocations: 4 kB / 1.168 GB, free: 9.898 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.8113, allocations: 3.938 kB / 1.168 GB, free: 9.895 MB / 0.92 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.000806/0.8121, allocations: 0.5688 MB / 1.169 GB, free: 9.277 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.8121, allocations: 15.98 kB / 1.169 GB, free: 9.262 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003487/0.8125, allocations: 75.38 kB / 1.169 GB, free: 9.188 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003755/0.8129, allocations: 294.3 kB / 1.169 GB, free: 8.863 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.8129, allocations: 20.44 kB / 1.169 GB, free: 8.844 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.472e-05/0.8129, allocations: 24 kB / 1.169 GB, free: 8.82 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004715/0.8134, allocations: 300.6 kB / 1.169 GB, free: 8.484 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.8134, allocations: 7.984 kB / 1.169 GB, free: 8.477 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.394e-05/0.8135, allocations: 4 kB / 1.169 GB, free: 8.473 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.8135, allocations: 8 kB / 1.169 GB, free: 8.465 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003915/0.8139, allocations: 187.5 kB / 1.17 GB, free: 8.281 MB / 0.92 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.001572/0.8155, allocations: 1.702 MB / 1.171 GB, free: 6.461 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002727/0.8158, allocations: 106.5 kB / 1.171 GB, free: 6.348 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.552e-05/0.8158, allocations: 8 kB / 1.171 GB, free: 6.34 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.8158, allocations: 30.56 kB / 1.171 GB, free: 6.301 MB / 0.92 GB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/0.8158, allocations: 0 / 1.171 GB, free: 6.301 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.0007004/0.8165, allocations: 253.5 kB / 1.172 GB, free: 6.047 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.8166, allocations: 55.41 kB / 1.172 GB, free: 5.98 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003143/0.8169, allocations: 308.5 kB / 1.172 GB, free: 5.672 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.8169, allocations: 37.7 kB / 1.172 GB, free: 5.629 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.8171, allocations: 195.8 kB / 1.172 GB, free: 5.43 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.102e-05/0.8171, allocations: 43.45 kB / 1.172 GB, free: 5.387 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.375e-06/0.8172, allocations: 0 / 1.172 GB, free: 5.387 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.8173, allocations: 342.8 kB / 1.173 GB, free: 5.043 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.8174, allocations: 55.95 kB / 1.173 GB, free: 4.988 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002448/0.8177, allocations: 197.1 kB / 1.173 GB, free: 4.734 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.8179, allocations: 87.91 kB / 1.173 GB, free: 4.648 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/0.8179, allocations: 0 / 1.173 GB, free: 4.648 MB / 0.92 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004836/0.8184, allocations: 264.8 kB / 1.173 GB, free: 4.383 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005257/0.8189, allocations: 1.399 MB / 1.175 GB, free: 2.875 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.8189, allocations: 4 kB / 1.175 GB, free: 2.871 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.819, allocations: 8 kB / 1.175 GB, free: 2.863 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/0.8191, allocations: 47.91 kB / 1.175 GB, free: 2.816 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.8192, allocations: 7.938 kB / 1.175 GB, free: 2.809 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002629/0.8194, allocations: 43.75 kB / 1.175 GB, free: 2.766 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.866e-05/0.8195, allocations: 16 kB / 1.175 GB, free: 2.75 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.177e-06/0.8195, allocations: 4 kB / 1.175 GB, free: 2.746 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003871/0.8199, allocations: 203.6 kB / 1.175 GB, free: 2.547 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.8199, allocations: 0 / 1.175 GB, free: 2.547 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.623e-06/0.8199, allocations: 15.89 kB / 1.175 GB, free: 2.531 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/0.8201, allocations: 47.91 kB / 1.175 GB, free: 2.484 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.8201, allocations: 11.88 kB / 1.175 GB, free: 2.473 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002294/0.8203, allocations: 44.08 kB / 1.175 GB, free: 2.43 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.807e-05/0.8204, allocations: 19.98 kB / 1.175 GB, free: 2.41 MB / 0.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001585/0.8205, allocations: 229 kB / 1.175 GB, free: 2.176 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.773e-05/0.8206, allocations: 27.91 kB / 1.175 GB, free: 2.148 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003749/0.821, allocations: 180.5 kB / 1.175 GB, free: 1.965 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.821, allocations: 7.984 kB / 1.175 GB, free: 1.957 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.82e-06/0.821, allocations: 0 / 1.175 GB, free: 1.957 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.821, allocations: 0 / 1.175 GB, free: 1.957 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008773/0.8219, allocations: 0.6133 MB / 1.176 GB, free: 1.266 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.8219, allocations: 4 kB / 1.176 GB, free: 1.262 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.822, allocations: 28.2 kB / 1.176 GB, free: 1.234 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.822, allocations: 8 kB / 1.176 GB, free: 1.227 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.8221, allocations: 0 / 1.176 GB, free: 1.227 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.161e-06/0.8221, allocations: 11.92 kB / 1.176 GB, free: 1.215 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.8221, allocations: 4 kB / 1.176 GB, free: 1.211 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000429/0.8225, allocations: 404.9 kB / 1.176 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.8226, allocations: 116.8 kB / 1.177 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.64e-05/0.8227, allocations: 0 / 1.177 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.8229, allocations: 27.83 kB / 1.177 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.081e-05/0.8229, allocations: 19.94 kB / 1.177 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.8229, allocations: 4 kB / 1.177 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002048/0.8232, allocations: 223 kB / 1.177 GB, free: 340 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8232, allocations: 0 / 1.177 GB, free: 340 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0005685/0.8237, allocations: 135.8 kB / 1.177 GB, free: 204 kB / 0.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003799/0.8241, allocations: 153.7 kB / 1.177 GB, free: 48 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0005726/0.8247, allocations: 260.7 kB / 1.177 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.8247, allocations: 0 / 1.177 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.8249, allocations: 69.16 kB / 1.177 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008108/0.8257, allocations: 144.4 kB / 1.178 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007866/0.8265, allocations: 0.5715 MB / 1.178 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.8268, allocations: 0.7875 MB / 1.179 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002618/0.8271, allocations: 82.89 kB / 1.179 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.479e-05/0.8272, allocations: 23.44 kB / 1.179 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of SimCode: time 2.51e-07/0.8272, allocations: 0 / 1.179 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of Templates: time 0.008644/0.8358, allocations: 4.583 MB / 1.183 GB, free: 9.547 MB / 0.9356 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","../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches