Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006499/0.006499, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001223/0.001224, allocations: 190.7 kB / 16.67 MB, free: 5.953 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.468/1.468, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.34/2.34, allocations: 390.2 MB / 0.6648 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 67.91 kB / 0.9509 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8707/0.8719, allocations: 140.4 MB / 1.088 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.2112/1.083, allocations: 167.4 MB / 1.251 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003099/1.086, allocations: 1.555 MB / 1.253 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000532/1.087, allocations: 7.938 kB / 1.253 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006834/1.088, allocations: 154.9 kB / 1.253 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002049/1.09, allocations: 0.7313 MB / 1.254 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00171/1.091, allocations: 0.6109 MB / 1.254 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0009055/1.092, allocations: 0.7012 MB / 1.255 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003563/1.093, allocations: 233.1 kB / 1.255 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005691/1.093, allocations: 334.8 kB / 1.256 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002512/1.094, allocations: 227 kB / 1.256 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.834e-05/1.094, allocations: 28 kB / 1.256 GB, free: 1.766 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001419/1.095, allocations: 0.8728 MB / 1.257 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001129/1.095, allocations: 99.72 kB / 1.257 GB, free: 0.793 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001581/1.095, allocations: 171.2 kB / 1.257 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009943/1.096, allocations: 0.7187 MB / 1.258 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/1.096, allocations: 0 / 1.258 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.292e-06/1.096, allocations: 0 / 1.258 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.015e-06/1.096, allocations: 0 / 1.258 GB, free: 15.91 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009333/1.097, allocations: 0.6544 MB / 1.258 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/1.097, allocations: 8.031 kB / 1.258 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/1.098, allocations: 151.4 kB / 1.258 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004927/1.099, allocations: 325.6 kB / 1.259 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/1.099, allocations: 16.44 kB / 1.259 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.636e-05/1.099, allocations: 23.94 kB / 1.259 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004411/1.1, allocations: 275.5 kB / 1.259 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/1.1, allocations: 3.938 kB / 1.259 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/1.1, allocations: 16 kB / 1.259 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/1.1, allocations: 4 kB / 1.259 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000386/1.1, allocations: 195.8 kB / 1.259 GB, free: 14.14 MB / 0.9981 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.001308/1.101, allocations: 1.209 MB / 1.26 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002582/1.102, allocations: 134.5 kB / 1.261 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/1.102, allocations: 92.8 kB / 1.261 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005526/1.102, allocations: 299.2 kB / 1.261 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/1.102, allocations: 42.48 kB / 1.261 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.753e-06/1.102, allocations: 4 kB / 1.261 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0007275/1.103, allocations: 276.2 kB / 1.261 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/1.103, allocations: 55.39 kB / 1.261 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003028/1.103, allocations: 316.5 kB / 1.262 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/1.103, allocations: 33.7 kB / 1.262 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/1.104, allocations: 184.2 kB / 1.262 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.202e-05/1.104, allocations: 51.2 kB / 1.262 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.027e-05/1.104, allocations: 45.7 kB / 1.262 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001169/1.104, allocations: 338.8 kB / 1.262 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/1.104, allocations: 63.95 kB / 1.262 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/1.104, allocations: 126.2 kB / 1.262 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000331/1.105, allocations: 188.6 kB / 1.263 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.105, allocations: 0 / 1.263 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004311/1.105, allocations: 245.1 kB / 1.263 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/1.105, allocations: 8 kB / 1.263 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/1.105, allocations: 144 / 1.263 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/1.105, allocations: 4 kB / 1.263 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001985/1.105, allocations: 47.84 kB / 1.263 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/1.105, allocations: 0 / 1.263 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/1.105, allocations: 35.67 kB / 1.263 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.905e-05/1.106, allocations: 12.09 kB / 1.263 GB, free: 10.12 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 22 * 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.0001378/1.106, allocations: 154.2 kB / 1.263 GB, free: 9.961 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.213e-05/1.106, allocations: 31.62 kB / 1.263 GB, free: 9.93 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004622/1.106, allocations: 220.3 kB / 1.263 GB, free: 9.711 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/1.106, allocations: 4 kB / 1.263 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/1.106, allocations: 3.938 kB / 1.263 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/1.106, allocations: 0 / 1.263 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009854/1.107, allocations: 0.6798 MB / 1.264 GB, free: 8.945 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/1.107, allocations: 4 kB / 1.264 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/1.107, allocations: 35.97 kB / 1.264 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/1.107, allocations: 3.938 kB / 1.264 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/1.107, allocations: 7.938 kB / 1.264 GB, free: 8.895 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/1.107, allocations: 7.938 kB / 1.264 GB, free: 8.887 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.107, allocations: 0 / 1.264 GB, free: 8.887 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005961/1.108, allocations: 429 kB / 1.264 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/1.108, allocations: 132.7 kB / 1.265 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.138e-05/1.108, allocations: 11.94 kB / 1.265 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/1.108, allocations: 7.984 kB / 1.265 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.55e-05/1.108, allocations: 15.98 kB / 1.265 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/1.108, allocations: 4 kB / 1.265 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000196/1.109, allocations: 227 kB / 1.265 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/1.109, allocations: 0 / 1.265 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003867/1.109, allocations: 72 kB / 1.265 GB, free: 7.953 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * 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 (15): * Single equations (assignments): 15 * 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.0004054/1.109, allocations: 178.1 kB / 1.265 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004098/1.11, allocations: 171.9 kB / 1.265 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.11, allocations: 4 kB / 1.265 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001974/1.11, allocations: 87.81 kB / 1.265 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008106/1.111, allocations: 182.2 kB / 1.265 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009713/1.112, allocations: 0.5982 MB / 1.266 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/1.112, allocations: 0.7795 MB / 1.267 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001824/1.112, allocations: 62.94 kB / 1.267 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.229e-05/1.113, allocations: 31.44 kB / 1.267 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of SimCode: time 2.3e-07/1.113, allocations: 0 / 1.267 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of Templates: time 0.01048/1.123, allocations: 5.76 MB / 1.273 GB, free: 132 kB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches