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.001777/0.001777, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001935/0.001935, allocations: 194.9 kB / 16.14 MB, free: 6.633 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.57/1.57, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.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.846/2.846, allocations: 437 MB / 0.71 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 63.91 kB / 0.8686 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8458/0.8478, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.2246/1.072, allocations: 167.2 MB / 1.18 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0113/1.084, allocations: 7.342 MB / 1.187 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007105/1.085, allocations: 15.88 kB / 1.187 GB, free: 3.59 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0009688/1.086, allocations: 178.9 kB / 1.187 GB, free: 3.414 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001897/1.088, allocations: 0.533 MB / 1.188 GB, free: 2.879 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001448/1.089, allocations: 386.9 kB / 1.188 GB, free: 2.504 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001521/1.091, allocations: 1.025 MB / 1.189 GB, free: 1.473 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000503/1.091, allocations: 218.4 kB / 1.189 GB, free: 1.258 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000985/1.092, allocations: 346.6 kB / 1.19 GB, free: 0.918 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000457/1.093, allocations: 227 kB / 1.19 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.263e-05/1.093, allocations: 16 kB / 1.19 GB, free: 0.6797 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001532/1.094, allocations: 0.7794 MB / 1.191 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001981/1.094, allocations: 107.7 kB / 1.191 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002638/1.095, allocations: 147.2 kB / 1.191 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001247/1.096, allocations: 0.5919 MB / 1.192 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/1.096, allocations: 4 kB / 1.192 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.583e-06/1.096, allocations: 0 / 1.192 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.765e-05/1.096, allocations: 0 / 1.192 GB, free: 15.05 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.001251/1.097, allocations: 0.6427 MB / 1.192 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/1.097, allocations: 8.031 kB / 1.192 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004294/1.098, allocations: 67.52 kB / 1.192 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005164/1.098, allocations: 306.2 kB / 1.193 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/1.098, allocations: 16.44 kB / 1.193 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.4e-05/1.098, allocations: 24 kB / 1.193 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005969/1.099, allocations: 304.5 kB / 1.193 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/1.099, allocations: 0 / 1.193 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.096e-05/1.099, allocations: 15.94 kB / 1.193 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/1.099, allocations: 4 kB / 1.193 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004142/1.099, allocations: 171.5 kB / 1.193 GB, free: 13.38 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.002048/1.101, allocations: 1.698 MB / 1.195 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002959/1.102, allocations: 86.56 kB / 1.195 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001785/1.102, allocations: 72.86 kB / 1.195 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003161/1.102, allocations: 202.1 kB / 1.195 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/1.102, allocations: 30.56 kB / 1.195 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=11): time 1.432e-06/1.102, allocations: 0 / 1.195 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.0007604/1.103, allocations: 229 kB / 1.195 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/1.103, allocations: 59.41 kB / 1.195 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004078/1.104, allocations: 324.4 kB / 1.196 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/1.104, allocations: 29.7 kB / 1.196 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/1.104, allocations: 195.8 kB / 1.196 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.791e-05/1.104, allocations: 39.45 kB / 1.196 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.228e-05/1.104, allocations: 45.7 kB / 1.196 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001622/1.104, allocations: 338.8 kB / 1.196 GB, free: 9.832 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001743/1.104, allocations: 64.81 kB / 1.196 GB, free: 9.766 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002886/1.105, allocations: 193.1 kB / 1.197 GB, free: 9.516 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004034/1.105, allocations: 233.4 kB / 1.197 GB, free: 9.238 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/1.105, allocations: 0 / 1.197 GB, free: 9.238 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005502/1.106, allocations: 257.1 kB / 1.197 GB, free: 8.98 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/1.106, allocations: 8 kB / 1.197 GB, free: 8.973 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/1.106, allocations: 11.94 kB / 1.197 GB, free: 8.961 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/1.106, allocations: 4 kB / 1.197 GB, free: 8.957 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/1.106, allocations: 51.91 kB / 1.197 GB, free: 8.906 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/1.106, allocations: 7.938 kB / 1.197 GB, free: 8.898 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002935/1.106, allocations: 43.81 kB / 1.197 GB, free: 8.855 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.422e-05/1.106, allocations: 16 kB / 1.197 GB, free: 8.84 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003708/1.107, allocations: 168.1 kB / 1.197 GB, free: 8.672 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002844/1.107, allocations: 202.1 kB / 1.197 GB, free: 8.414 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003911/1.107, allocations: 229.6 kB / 1.198 GB, free: 8.141 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.092e-06/1.107, allocations: 4 kB / 1.198 GB, free: 8.137 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005384/1.108, allocations: 245.1 kB / 1.198 GB, free: 7.891 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/1.108, allocations: 11.94 kB / 1.198 GB, free: 7.879 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/1.108, allocations: 4 kB / 1.198 GB, free: 7.875 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.742e-06/1.108, allocations: 4 kB / 1.198 GB, free: 7.871 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/1.108, allocations: 51.91 kB / 1.198 GB, free: 7.82 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/1.108, allocations: 7.938 kB / 1.198 GB, free: 7.812 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002792/1.108, allocations: 32.14 kB / 1.198 GB, free: 7.781 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.558e-05/1.108, allocations: 16 kB / 1.198 GB, free: 7.766 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.0001381/1.109, allocations: 192.2 kB / 1.198 GB, free: 7.57 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.959e-05/1.109, allocations: 35.56 kB / 1.198 GB, free: 7.535 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004101/1.109, allocations: 168.4 kB / 1.198 GB, free: 7.363 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/1.109, allocations: 0 / 1.198 GB, free: 7.363 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/1.109, allocations: 4 kB / 1.198 GB, free: 7.359 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/1.109, allocations: 0 / 1.198 GB, free: 7.359 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/1.11, allocations: 0.6054 MB / 1.199 GB, free: 6.676 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/1.11, allocations: 4 kB / 1.199 GB, free: 6.672 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001227/1.11, allocations: 23.97 kB / 1.199 GB, free: 6.648 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/1.11, allocations: 4 kB / 1.199 GB, free: 6.645 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/1.11, allocations: 8 kB / 1.199 GB, free: 6.637 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/1.11, allocations: 0 / 1.199 GB, free: 6.637 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.835e-06/1.11, allocations: 11.88 kB / 1.199 GB, free: 6.625 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004475/1.111, allocations: 293.3 kB / 1.199 GB, free: 6.301 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/1.111, allocations: 120.6 kB / 1.199 GB, free: 6.164 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.134e-05/1.111, allocations: 8 kB / 1.199 GB, free: 6.156 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/1.111, allocations: 11.98 kB / 1.199 GB, free: 6.145 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.535e-05/1.111, allocations: 23.86 kB / 1.2 GB, free: 6.121 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/1.111, allocations: 8 kB / 1.2 GB, free: 6.113 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002804/1.112, allocations: 231 kB / 1.2 GB, free: 5.887 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.91e-07/1.112, allocations: 3.938 kB / 1.2 GB, free: 5.883 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006204/1.112, allocations: 131.8 kB / 1.2 GB, free: 5.754 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.0004885/1.113, allocations: 167.6 kB / 1.2 GB, free: 5.594 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006304/1.113, allocations: 237 kB / 1.2 GB, free: 5.363 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/1.113, allocations: 0 / 1.2 GB, free: 5.363 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001694/1.114, allocations: 69.14 kB / 1.2 GB, free: 5.297 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009857/1.115, allocations: 145.2 kB / 1.2 GB, free: 5.152 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009992/1.116, allocations: 0.5808 MB / 1.201 GB, free: 4.52 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004431/1.116, allocations: 0.7797 MB / 1.202 GB, free: 3.715 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000327/1.116, allocations: 91.53 kB / 1.202 GB, free: 3.629 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.944e-05/1.116, allocations: 27.38 kB / 1.202 GB, free: 3.602 MB / 0.9512 GB Notification: Performance of SimCode: time 2.21e-07/1.116, allocations: 0 / 1.202 GB, free: 3.602 MB / 0.9512 GB Notification: Performance of Templates: time 0.01125/1.128, allocations: 4.736 MB / 1.207 GB, free: 14.94 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=400 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches