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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.005417/0.005416, allocations: 102 kB / 15.73 MB, free: 6.039 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.001189/0.001189, allocations: 194 kB / 16.67 MB, free: 5.961 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.6/2.6, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 72.09 kB / 1.054 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9771/0.9785, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.189/1.167, allocations: 169.4 MB / 1.373 GB, free: 3.504 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.0087/1.176, allocations: 7.33 MB / 1.38 GB, free: 12.15 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000695/1.177, allocations: 15.88 kB / 1.38 GB, free: 12.14 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.000799/1.178, allocations: 210.6 kB / 1.381 GB, free: 11.93 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001475/1.179, allocations: 0.5677 MB / 1.381 GB, free: 11.36 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001487/1.181, allocations: 434.1 kB / 1.382 GB, free: 10.94 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001121/1.182, allocations: 0.7012 MB / 1.382 GB, free: 10.23 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004384/1.182, allocations: 271 kB / 1.383 GB, free: 9.969 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007103/1.183, allocations: 382.6 kB / 1.383 GB, free: 9.594 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002909/1.183, allocations: 215 kB / 1.383 GB, free: 9.383 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 3.941e-05/1.183, allocations: 23.94 kB / 1.383 GB, free: 9.359 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/1.185, allocations: 0.6977 MB / 1.384 GB, free: 8.66 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001255/1.185, allocations: 111.6 kB / 1.384 GB, free: 8.551 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.000151/1.185, allocations: 159.2 kB / 1.384 GB, free: 8.395 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0008038/1.186, allocations: 0.5745 MB / 1.385 GB, free: 7.82 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/1.186, allocations: 0 / 1.385 GB, free: 7.82 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.403e-06/1.186, allocations: 0 / 1.385 GB, free: 7.82 MB / 1.107 GB Notification: Performance of Transformations before backend: time 7.524e-06/1.186, allocations: 0 / 1.385 GB, free: 7.82 MB / 1.107 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.0008507/1.187, allocations: 0.6349 MB / 1.385 GB, free: 7.137 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/1.187, allocations: 8.031 kB / 1.385 GB, free: 7.129 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00037/1.187, allocations: 71.52 kB / 1.385 GB, free: 7.059 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005147/1.188, allocations: 326 kB / 1.386 GB, free: 6.703 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/1.188, allocations: 20.44 kB / 1.386 GB, free: 6.684 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.356e-05/1.188, allocations: 24 kB / 1.386 GB, free: 6.66 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000497/1.188, allocations: 296.6 kB / 1.386 GB, free: 6.332 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/1.188, allocations: 0 / 1.386 GB, free: 6.332 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.528e-05/1.188, allocations: 19.94 kB / 1.386 GB, free: 6.312 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/1.188, allocations: 7.984 kB / 1.386 GB, free: 6.305 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003692/1.189, allocations: 171.7 kB / 1.386 GB, free: 6.137 MB / 1.107 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.001638/1.19, allocations: 1.694 MB / 1.388 GB, free: 4.324 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/1.19, allocations: 94.5 kB / 1.388 GB, free: 4.223 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/1.191, allocations: 76.84 kB / 1.388 GB, free: 4.145 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002554/1.191, allocations: 198.1 kB / 1.388 GB, free: 3.914 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/1.191, allocations: 30.56 kB / 1.388 GB, free: 3.875 MB / 1.107 GB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/1.191, allocations: 0 / 1.388 GB, free: 3.875 MB / 1.107 GB Notification: Performance of matching and sorting (n=11): time 0.0006447/1.192, allocations: 225.5 kB / 1.388 GB, free: 3.648 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/1.192, allocations: 55.41 kB / 1.388 GB, free: 3.582 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003051/1.192, allocations: 320.5 kB / 1.389 GB, free: 3.258 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/1.192, allocations: 29.7 kB / 1.389 GB, free: 3.223 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/1.192, allocations: 195.8 kB / 1.389 GB, free: 3.027 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 3.031e-05/1.192, allocations: 43.44 kB / 1.389 GB, free: 2.984 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.156e-05/1.192, allocations: 49.61 kB / 1.389 GB, free: 2.93 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001331/1.192, allocations: 342.8 kB / 1.389 GB, free: 2.586 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/1.193, allocations: 64.81 kB / 1.389 GB, free: 2.52 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002434/1.193, allocations: 193.1 kB / 1.39 GB, free: 2.27 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003728/1.193, allocations: 229.5 kB / 1.39 GB, free: 1.996 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/1.193, allocations: 0 / 1.39 GB, free: 1.996 MB / 1.107 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005211/1.194, allocations: 261.1 kB / 1.39 GB, free: 1.734 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/1.194, allocations: 8 kB / 1.39 GB, free: 1.727 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/1.194, allocations: 4 kB / 1.39 GB, free: 1.723 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/1.194, allocations: 4 kB / 1.39 GB, free: 1.719 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/1.194, allocations: 51.91 kB / 1.39 GB, free: 1.668 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/1.194, allocations: 7.938 kB / 1.39 GB, free: 1.66 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002553/1.194, allocations: 39.98 kB / 1.39 GB, free: 1.621 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.152e-05/1.194, allocations: 16 kB / 1.39 GB, free: 1.605 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000235/1.195, allocations: 168.1 kB / 1.39 GB, free: 1.438 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002367/1.195, allocations: 198.9 kB / 1.391 GB, free: 1.184 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000338/1.195, allocations: 229.5 kB / 1.391 GB, free: 0.9102 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.853e-06/1.195, allocations: 0 / 1.391 GB, free: 0.9102 MB / 1.107 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004465/1.196, allocations: 253 kB / 1.391 GB, free: 0.6562 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/1.196, allocations: 11.94 kB / 1.391 GB, free: 0.6445 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/1.196, allocations: 7.984 kB / 1.391 GB, free: 0.6367 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.47e-06/1.196, allocations: 4 kB / 1.391 GB, free: 0.6328 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/1.196, allocations: 47.92 kB / 1.391 GB, free: 0.5859 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.463e-06/1.196, allocations: 4 kB / 1.391 GB, free: 0.582 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002323/1.196, allocations: 27.91 kB / 1.391 GB, free: 0.5547 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.874e-05/1.196, allocations: 20.28 kB / 1.391 GB, free: 0.5352 MB / 1.107 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.0001038/1.196, allocations: 188.2 kB / 1.391 GB, free: 352 kB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.394e-05/1.196, allocations: 35.56 kB / 1.391 GB, free: 316 kB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003677/1.197, allocations: 176.3 kB / 1.392 GB, free: 136 kB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/1.197, allocations: 0 / 1.392 GB, free: 136 kB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/1.197, allocations: 0 / 1.392 GB, free: 136 kB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/1.197, allocations: 0 / 1.392 GB, free: 136 kB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009453/1.198, allocations: 0.6133 MB / 1.392 GB, free: 15.44 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/1.198, allocations: 8.062 kB / 1.392 GB, free: 15.43 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/1.198, allocations: 19.98 kB / 1.392 GB, free: 15.41 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/1.198, allocations: 4.188 kB / 1.392 GB, free: 15.41 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/1.198, allocations: 4 kB / 1.392 GB, free: 15.41 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/1.198, allocations: 3.938 kB / 1.392 GB, free: 15.4 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.198, allocations: 7.938 kB / 1.392 GB, free: 15.39 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003851/1.198, allocations: 305.1 kB / 1.392 GB, free: 15.06 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/1.198, allocations: 112.7 kB / 1.393 GB, free: 14.93 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/1.198, allocations: 12 kB / 1.393 GB, free: 14.92 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/1.199, allocations: 11.98 kB / 1.393 GB, free: 14.91 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.459e-05/1.199, allocations: 11.92 kB / 1.393 GB, free: 14.89 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/1.199, allocations: 8 kB / 1.393 GB, free: 14.89 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.000199/1.199, allocations: 227 kB / 1.393 GB, free: 14.67 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.3e-07/1.199, allocations: 0 / 1.393 GB, free: 14.67 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0005614/1.199, allocations: 131.8 kB / 1.393 GB, free: 14.54 MB / 1.123 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.0003749/1.2, allocations: 167.2 kB / 1.393 GB, free: 14.38 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0005573/1.2, allocations: 245 kB / 1.393 GB, free: 14.14 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/1.2, allocations: 0 / 1.393 GB, free: 14.14 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0001467/1.2, allocations: 63.89 kB / 1.393 GB, free: 14.07 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007226/1.201, allocations: 126.7 kB / 1.394 GB, free: 13.95 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009517/1.202, allocations: 0.4971 MB / 1.394 GB, free: 13.4 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000352/1.203, allocations: 0.7833 MB / 1.395 GB, free: 12.59 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0002558/1.203, allocations: 82.89 kB / 1.395 GB, free: 12.51 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.967e-05/1.203, allocations: 31.42 kB / 1.395 GB, free: 12.48 MB / 1.123 GB Notification: Performance of SimCode: time 2.3e-07/1.203, allocations: 0 / 1.395 GB, free: 12.48 MB / 1.123 GB Notification: Performance of Templates: time 0.009764/1.213, allocations: 4.981 MB / 1.4 GB, free: 7.578 MB / 1.123 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