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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009278/0.0009277, allocations: 99.34 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 186.2 kB / 16.92 MB, free: 6.75 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.39/1.39, allocations: 223.3 MB / 241 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.615/2.615, allocations: 437.8 MB / 0.7128 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004082/0.0004084, allocations: 15.98 kB / 0.8735 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7044/0.7048, allocations: 153.8 MB / 1.024 GB, free: 72 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1828/0.8876, allocations: 165 MB / 1.185 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.009363/0.897, allocations: 7.247 MB / 1.192 GB, free: 3.152 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005851/0.8977, allocations: 15.88 kB / 1.192 GB, free: 3.137 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0007806/0.8985, allocations: 175 kB / 1.192 GB, free: 2.965 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001766/0.9002, allocations: 0.5408 MB / 1.193 GB, free: 2.422 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.9016, allocations: 382.9 kB / 1.193 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001346/0.9029, allocations: 1.029 MB / 1.194 GB, free: 1.016 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004764/0.9034, allocations: 214.4 kB / 1.194 GB, free: 0.8047 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008379/0.9042, allocations: 338.6 kB / 1.195 GB, free: 484 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004132/0.9047, allocations: 227 kB / 1.195 GB, free: 256 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.406e-05/0.9047, allocations: 12 kB / 1.195 GB, free: 244 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001409/0.9062, allocations: 0.7755 MB / 1.196 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001548/0.9063, allocations: 95.69 kB / 1.196 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002169/0.9065, allocations: 172.9 kB / 1.196 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006565/0.9072, allocations: 403.1 kB / 1.196 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.9072, allocations: 0 / 1.196 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.894e-06/0.9072, allocations: 0 / 1.196 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.345e-05/0.9073, allocations: 0 / 1.196 GB, free: 14.8 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.0009869/0.9083, allocations: 0.5804 MB / 1.197 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.9083, allocations: 8.031 kB / 1.197 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004284/0.9087, allocations: 75.42 kB / 1.197 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004614/0.9092, allocations: 302.2 kB / 1.197 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/0.9092, allocations: 20.44 kB / 1.197 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.131e-05/0.9093, allocations: 24 kB / 1.197 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005451/0.9098, allocations: 304.6 kB / 1.197 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.9099, allocations: 3.938 kB / 1.197 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.579e-05/0.9099, allocations: 15.92 kB / 1.197 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.9099, allocations: 4 kB / 1.197 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004177/0.9103, allocations: 191.5 kB / 1.198 GB, free: 13.16 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.001779/0.9121, allocations: 1.702 MB / 1.199 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002708/0.9124, allocations: 94.5 kB / 1.199 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000181/0.9126, allocations: 84.84 kB / 1.199 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002918/0.9129, allocations: 190.1 kB / 1.2 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.9129, allocations: 38.5 kB / 1.2 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/0.9129, allocations: 0 / 1.2 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.0007486/0.9137, allocations: 233.2 kB / 1.2 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.9138, allocations: 67.33 kB / 1.2 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003381/0.9141, allocations: 312.5 kB / 1.2 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.9141, allocations: 33.7 kB / 1.2 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/0.9143, allocations: 195.8 kB / 1.201 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.662e-05/0.9144, allocations: 39.45 kB / 1.201 GB, free: 9.977 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.876e-05/0.9144, allocations: 29.64 kB / 1.201 GB, free: 9.941 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.9145, allocations: 334.8 kB / 1.201 GB, free: 9.605 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.9147, allocations: 59.95 kB / 1.201 GB, free: 9.547 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002553/0.915, allocations: 205.1 kB / 1.201 GB, free: 9.285 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003991/0.9154, allocations: 253.3 kB / 1.201 GB, free: 8.988 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.9154, allocations: 4 kB / 1.201 GB, free: 8.984 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005132/0.9159, allocations: 264.8 kB / 1.202 GB, free: 8.719 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.000123/0.916, allocations: 194.2 kB / 1.202 GB, free: 8.477 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.916, allocations: 7.984 kB / 1.202 GB, free: 8.469 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.9161, allocations: 4 kB / 1.202 GB, free: 8.465 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/0.9163, allocations: 43.92 kB / 1.202 GB, free: 8.422 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.9163, allocations: 12 kB / 1.202 GB, free: 8.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002797/0.9166, allocations: 43.66 kB / 1.202 GB, free: 8.367 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.187e-05/0.9166, allocations: 16 kB / 1.202 GB, free: 8.352 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 6.973e-06/0.9166, allocations: 4 kB / 1.202 GB, free: 8.348 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004316/0.9171, allocations: 203.5 kB / 1.202 GB, free: 8.148 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.9171, allocations: 4 kB / 1.202 GB, free: 8.145 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/0.9171, allocations: 7.938 kB / 1.202 GB, free: 8.137 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.9173, allocations: 60.31 kB / 1.202 GB, free: 8.078 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.9173, allocations: 4.078 kB / 1.202 GB, free: 8.074 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002633/0.9176, allocations: 35.8 kB / 1.202 GB, free: 8.039 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.417e-05/0.9176, allocations: 16 kB / 1.202 GB, free: 8.023 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.0001747/0.9178, allocations: 229 kB / 1.202 GB, free: 7.789 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.997e-05/0.9178, allocations: 43.56 kB / 1.203 GB, free: 7.746 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004082/0.9183, allocations: 176.3 kB / 1.203 GB, free: 7.566 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.9183, allocations: 288 / 1.203 GB, free: 7.566 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.9183, allocations: 0 / 1.203 GB, free: 7.566 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.9183, allocations: 7.984 kB / 1.203 GB, free: 7.559 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009431/0.9192, allocations: 0.6172 MB / 1.203 GB, free: 6.863 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.9193, allocations: 0 / 1.203 GB, free: 6.863 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001292/0.9194, allocations: 31.92 kB / 1.203 GB, free: 6.832 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.9194, allocations: 0 / 1.203 GB, free: 6.832 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.9194, allocations: 8 kB / 1.203 GB, free: 6.824 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.9194, allocations: 4 kB / 1.203 GB, free: 6.82 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.9194, allocations: 224 / 1.203 GB, free: 6.82 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004046/0.9198, allocations: 317 kB / 1.204 GB, free: 6.473 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.92, allocations: 112.7 kB / 1.204 GB, free: 6.344 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.993e-05/0.92, allocations: 11.94 kB / 1.204 GB, free: 6.332 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002094/0.9202, allocations: 23.92 kB / 1.204 GB, free: 6.309 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.733e-05/0.9203, allocations: 15.92 kB / 1.204 GB, free: 6.293 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.9203, allocations: 7.938 kB / 1.204 GB, free: 6.285 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002234/0.9205, allocations: 227 kB / 1.204 GB, free: 6.062 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.512e-06/0.9205, allocations: 0 / 1.204 GB, free: 6.062 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006153/0.9212, allocations: 139.8 kB / 1.204 GB, free: 5.926 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.000401/0.9216, allocations: 161.9 kB / 1.204 GB, free: 5.766 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006281/0.9222, allocations: 256.4 kB / 1.205 GB, free: 5.516 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.9222, allocations: 0 / 1.205 GB, free: 5.516 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001732/0.9224, allocations: 64.97 kB / 1.205 GB, free: 5.453 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.9234, allocations: 145.7 kB / 1.205 GB, free: 5.312 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000929/0.9244, allocations: 0.6337 MB / 1.205 GB, free: 4.621 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.9247, allocations: 0.7797 MB / 1.206 GB, free: 3.816 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.358e-05/0.9248, allocations: 27.44 kB / 1.206 GB, free: 3.789 MB / 0.9512 GB Notification: Performance of SimCode: time 5.01e-07/0.9248, allocations: 0 / 1.206 GB, free: 3.789 MB / 0.9512 GB Notification: Performance of Templates: time 0.008002/0.9328, allocations: 4.44 MB / 1.211 GB, free: 15.39 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=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