Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_latest_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_latest_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.00164/0.00164, allocations: 107.5 kB / 16.27 MB, free: 5.941 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.001741/0.001741, allocations: 189.2 kB / 17.19 MB, free: 5.582 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.31/1.31, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.488/2.488, allocations: 469.4 MB / 0.7427 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 60.09 kB / 0.9088 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2958, allocations: 159.1 MB / 1.064 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.7039/0.9997, allocations: 167.4 MB / 1.228 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002714/1.002, allocations: 1.554 MB / 1.229 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003862/1.003, allocations: 11.62 kB / 1.229 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0004765/1.003, allocations: 154.8 kB / 1.229 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00167/1.005, allocations: 0.701 MB / 1.23 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001487/1.007, allocations: 0.6013 MB / 1.231 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0007759/1.007, allocations: 0.6972 MB / 1.231 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003924/1.008, allocations: 231.6 kB / 1.231 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000623/1.008, allocations: 336.1 kB / 1.232 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003035/1.009, allocations: 217.9 kB / 1.232 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.639e-05/1.009, allocations: 23.31 kB / 1.232 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001417/1.01, allocations: 0.8611 MB / 1.233 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001236/1.01, allocations: 114.8 kB / 1.233 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001766/1.011, allocations: 161.6 kB / 1.233 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001094/1.012, allocations: 0.7089 MB / 1.234 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/1.012, allocations: 0 / 1.234 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.423e-06/1.012, allocations: 1.031 kB / 1.234 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.114e-05/1.012, allocations: 0 / 1.234 GB, free: 11.36 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001007/1.013, allocations: 0.6591 MB / 1.234 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/1.013, allocations: 8.031 kB / 1.234 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001174/1.014, allocations: 155.5 kB / 1.235 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004062/1.014, allocations: 301.7 kB / 1.235 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/1.014, allocations: 20.44 kB / 1.235 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.424e-05/1.014, allocations: 23.94 kB / 1.235 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004578/1.015, allocations: 271.5 kB / 1.235 GB, free: 9.84 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/1.015, allocations: 3.938 kB / 1.235 GB, free: 9.836 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.419e-05/1.015, allocations: 15.98 kB / 1.235 GB, free: 9.82 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/1.015, allocations: 4 kB / 1.235 GB, free: 9.816 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004001/1.015, allocations: 195.8 kB / 1.235 GB, free: 9.625 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.001335/1.017, allocations: 1.217 MB / 1.237 GB, free: 8.305 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/1.017, allocations: 134.5 kB / 1.237 GB, free: 8.164 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001759/1.017, allocations: 94.05 kB / 1.237 GB, free: 8.07 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005744/1.018, allocations: 307.2 kB / 1.237 GB, free: 7.715 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/1.018, allocations: 42.42 kB / 1.237 GB, free: 7.664 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 1.413e-06/1.018, allocations: 0 / 1.237 GB, free: 7.664 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.0007506/1.019, allocations: 282.9 kB / 1.237 GB, free: 7.383 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/1.019, allocations: 51.41 kB / 1.238 GB, free: 7.32 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002993/1.019, allocations: 316.5 kB / 1.238 GB, free: 7.004 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/1.019, allocations: 29.7 kB / 1.238 GB, free: 6.969 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/1.019, allocations: 176.2 kB / 1.238 GB, free: 6.793 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.009e-05/1.019, allocations: 55.19 kB / 1.238 GB, free: 6.738 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.453e-05/1.019, allocations: 49.7 kB / 1.238 GB, free: 6.684 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001065/1.019, allocations: 334.8 kB / 1.238 GB, free: 6.348 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/1.019, allocations: 63.95 kB / 1.238 GB, free: 6.285 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002077/1.02, allocations: 126.1 kB / 1.239 GB, free: 6.145 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003468/1.02, allocations: 198.3 kB / 1.239 GB, free: 5.934 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.02, allocations: 0 / 1.239 GB, free: 5.934 MB / 0.9512 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000449/1.021, allocations: 247.1 kB / 1.239 GB, free: 5.688 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/1.021, allocations: 8 kB / 1.239 GB, free: 5.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/1.021, allocations: 0 / 1.239 GB, free: 5.68 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/1.021, allocations: 4.875 kB / 1.239 GB, free: 5.676 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/1.021, allocations: 39.92 kB / 1.239 GB, free: 5.637 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/1.021, allocations: 3.984 kB / 1.239 GB, free: 5.633 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002028/1.021, allocations: 31.69 kB / 1.239 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.569e-05/1.021, allocations: 11.98 kB / 1.239 GB, free: 5.59 MB / 0.9512 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.0001366/1.021, allocations: 163.9 kB / 1.239 GB, free: 5.422 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.235e-05/1.021, allocations: 27.72 kB / 1.239 GB, free: 5.395 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004582/1.022, allocations: 221.5 kB / 1.24 GB, free: 5.18 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/1.022, allocations: 4 kB / 1.24 GB, free: 5.176 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/1.022, allocations: 0 / 1.24 GB, free: 5.176 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/1.022, allocations: 0 / 1.24 GB, free: 5.176 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009687/1.023, allocations: 0.6835 MB / 1.24 GB, free: 4.414 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/1.023, allocations: 4.219 kB / 1.24 GB, free: 4.41 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/1.023, allocations: 35.97 kB / 1.24 GB, free: 4.375 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/1.023, allocations: 0 / 1.24 GB, free: 4.375 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/1.023, allocations: 11.88 kB / 1.24 GB, free: 4.363 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/1.023, allocations: 4 kB / 1.24 GB, free: 4.359 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/1.023, allocations: 5.5 kB / 1.24 GB, free: 4.355 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006278/1.024, allocations: 433 kB / 1.241 GB, free: 3.895 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/1.024, allocations: 120.7 kB / 1.241 GB, free: 3.758 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.739e-05/1.024, allocations: 12 kB / 1.241 GB, free: 3.746 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/1.024, allocations: 15.92 kB / 1.241 GB, free: 3.73 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.338e-05/1.024, allocations: 15.98 kB / 1.241 GB, free: 3.715 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/1.024, allocations: 4 kB / 1.241 GB, free: 3.711 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002048/1.024, allocations: 227 kB / 1.241 GB, free: 3.492 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/1.024, allocations: 0 / 1.241 GB, free: 3.492 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003833/1.025, allocations: 76 kB / 1.241 GB, free: 3.418 MB / 0.9512 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.0003835/1.025, allocations: 177.3 kB / 1.241 GB, free: 3.242 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004298/1.025, allocations: 175.8 kB / 1.241 GB, free: 3.07 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/1.025, allocations: 0 / 1.241 GB, free: 3.07 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001859/1.026, allocations: 92.02 kB / 1.242 GB, free: 2.98 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008634/1.026, allocations: 158.7 kB / 1.242 GB, free: 2.828 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009829/1.027, allocations: 0.6391 MB / 1.242 GB, free: 2.133 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/1.028, allocations: 0.7717 MB / 1.243 GB, free: 1.332 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.82e-05/1.028, allocations: 35.38 kB / 1.243 GB, free: 1.297 MB / 0.9512 GB Notification: Performance of SimCode: time 4.3e-07/1.028, allocations: 0 / 1.243 GB, free: 1.297 MB / 0.9512 GB Notification: Performance of Templates: time 0.007354/1.035, allocations: 4.811 MB / 1.248 GB, free: 12.54 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches