Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.555/1.555, allocations: 249.3 MB / 261.8 MB, free: 5.867 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009804/0.0009804, allocations: 180.8 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.799/1.799, allocations: 205.2 MB / 0.572 GB, free: 10.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008761/0.0008764, allocations: 84.55 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.203e-05/3.205e-05, allocations: 4 kB / 0.7879 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2224, allocations: 106.3 MB / 0.8918 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.993/6.215, allocations: 2.182 GB / 3.074 GB, free: 187.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/6.216, allocations: 89.02 kB / 3.074 GB, free: 187.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.118/7.333, allocations: 332.1 MB / 3.399 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.342e-06/7.333, allocations: 3.938 kB / 3.399 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.04e-05/7.333, allocations: 12 kB / 3.399 GB, free: 194.4 MB / 0.8698 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.001024/7.334, allocations: 0.6606 MB / 3.399 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/7.334, allocations: 12.03 kB / 3.399 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003419/7.335, allocations: 55.59 kB / 3.399 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000446/7.335, allocations: 321.8 kB / 3.4 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/7.335, allocations: 16.44 kB / 3.4 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.21e-05/7.335, allocations: 27.89 kB / 3.4 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003337/7.336, allocations: 280.7 kB / 3.4 GB, free: 193 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/7.336, allocations: 0 / 3.4 GB, free: 193 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.271e-05/7.336, allocations: 12 kB / 3.4 GB, free: 192.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/7.336, allocations: 4 kB / 3.4 GB, free: 192.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001983/7.336, allocations: 139.8 kB / 3.4 GB, free: 192.8 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.001231/7.337, allocations: 1.702 MB / 3.402 GB, free: 191 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/7.337, allocations: 70.59 kB / 3.402 GB, free: 190.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.928e-05/7.337, allocations: 69.09 kB / 3.402 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002054/7.338, allocations: 190.1 kB / 3.402 GB, free: 190.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.316e-05/7.338, allocations: 38.52 kB / 3.402 GB, free: 190.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/7.338, allocations: 3.938 kB / 3.402 GB, free: 190.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.0003626/7.338, allocations: 145.3 kB / 3.402 GB, free: 190.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.383e-05/7.338, allocations: 51.41 kB / 3.402 GB, free: 190.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002155/7.338, allocations: 278.7 kB / 3.403 GB, free: 190.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/7.338, allocations: 29.69 kB / 3.403 GB, free: 190 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.277e-05/7.338, allocations: 191.8 kB / 3.403 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.393e-05/7.338, allocations: 47.47 kB / 3.403 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.234e-06/7.338, allocations: 0 / 3.403 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.41e-05/7.339, allocations: 338.8 kB / 3.403 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.166e-05/7.339, allocations: 39.98 kB / 3.403 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/7.339, allocations: 179.5 kB / 3.403 GB, free: 189.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.695e-05/7.339, allocations: 67.89 kB / 3.404 GB, free: 189.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/7.339, allocations: 4 kB / 3.404 GB, free: 189.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002551/7.339, allocations: 225.2 kB / 3.404 GB, free: 188.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002214/7.339, allocations: 1.406 MB / 3.405 GB, free: 187.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/7.339, allocations: 0 / 3.405 GB, free: 187.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/7.339, allocations: 11.95 kB / 3.405 GB, free: 187.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/7.34, allocations: 47.91 kB / 3.405 GB, free: 187.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/7.34, allocations: 8 kB / 3.405 GB, free: 187.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002284/7.34, allocations: 39.73 kB / 3.405 GB, free: 187.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.249e-05/7.34, allocations: 19.98 kB / 3.405 GB, free: 187.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.233e-06/7.34, allocations: 4 kB / 3.405 GB, free: 187.2 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001977/7.34, allocations: 171.8 kB / 3.405 GB, free: 187.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/7.34, allocations: 4 kB / 3.405 GB, free: 187.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.158e-06/7.34, allocations: 4 kB / 3.405 GB, free: 187.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/7.34, allocations: 47.92 kB / 3.405 GB, free: 187 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/7.34, allocations: 7.984 kB / 3.405 GB, free: 187 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002009/7.34, allocations: 43.95 kB / 3.406 GB, free: 187 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/7.34, allocations: 8 kB / 3.406 GB, free: 187 MB / 0.8698 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 () * 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 7.567e-05/7.341, allocations: 126.2 kB / 3.406 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.83e-05/7.341, allocations: 27.62 kB / 3.406 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002121/7.341, allocations: 152.3 kB / 3.406 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/7.341, allocations: 0 / 3.406 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/7.341, allocations: 0 / 3.406 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/7.341, allocations: 7.984 kB / 3.406 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005862/7.341, allocations: 0.5742 MB / 3.406 GB, free: 186 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/7.341, allocations: 3.984 kB / 3.406 GB, free: 186 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/7.342, allocations: 36.14 kB / 3.406 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/7.342, allocations: 4 kB / 3.406 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/7.342, allocations: 0 / 3.406 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/7.342, allocations: 4 kB / 3.406 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/7.342, allocations: 3.953 kB / 3.406 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002093/7.342, allocations: 365.2 kB / 3.407 GB, free: 185.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.481e-05/7.342, allocations: 112.8 kB / 3.407 GB, free: 185.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.35e-05/7.342, allocations: 8.281 kB / 3.407 GB, free: 185.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001863/7.342, allocations: 19.98 kB / 3.407 GB, free: 185.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/7.342, allocations: 11.98 kB / 3.407 GB, free: 185.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/7.342, allocations: 7.938 kB / 3.407 GB, free: 185.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001534/7.342, allocations: 222.2 kB / 3.407 GB, free: 185.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.7e-07/7.342, allocations: 0 / 3.407 GB, free: 185.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0008835/7.343, allocations: 255.8 kB / 3.407 GB, free: 184.9 MB / 0.8698 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 () * 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.001519/7.345, allocations: 1.25 MB / 3.409 GB, free: 183.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000328/7.345, allocations: 211 kB / 3.409 GB, free: 183.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/7.345, allocations: 0 / 3.409 GB, free: 183.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 7.461e-05/7.345, allocations: 56.28 kB / 3.409 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007116/7.346, allocations: 132.3 kB / 3.409 GB, free: 183.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004551/7.346, allocations: 358 kB / 3.409 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001784/7.347, allocations: 0.7804 MB / 3.41 GB, free: 182 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003043/7.347, allocations: 111.4 kB / 3.41 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.183e-05/7.347, allocations: 19.44 kB / 3.41 GB, free: 181.8 MB / 0.8698 GB Notification: Performance of SimCode: time 3.81e-07/7.347, allocations: 0 / 3.41 GB, free: 181.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.02531/7.372, allocations: 23.51 MB / 3.433 GB, free: 158.4 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Sensors_Examples_Pressure.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches