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.007155/0.007155, allocations: 101.6 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.001472/0.001472, allocations: 192.9 kB / 16.67 MB, free: 5.969 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 4.195 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.802/2.802, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 59.91 kB / 1.054 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3468, allocations: 157.4 MB / 1.208 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.9269/1.274, allocations: 167.4 MB / 1.371 GB, free: 0.9805 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003254/1.277, allocations: 1.556 MB / 1.373 GB, free: 15.89 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003938/1.277, allocations: 16.31 kB / 1.373 GB, free: 15.88 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005849/1.278, allocations: 146.2 kB / 1.373 GB, free: 15.78 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002041/1.28, allocations: 0.6962 MB / 1.374 GB, free: 15.41 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001803/1.282, allocations: 0.599 MB / 1.374 GB, free: 15.12 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001126/1.283, allocations: 0.7014 MB / 1.375 GB, free: 14.8 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004279/1.284, allocations: 232.2 kB / 1.375 GB, free: 14.71 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007246/1.284, allocations: 341.4 kB / 1.375 GB, free: 14.56 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003261/1.285, allocations: 217.3 kB / 1.376 GB, free: 14.47 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.131e-05/1.285, allocations: 26.88 kB / 1.376 GB, free: 14.46 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001857/1.287, allocations: 0.8711 MB / 1.376 GB, free: 14.1 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001372/1.287, allocations: 105 kB / 1.377 GB, free: 14.03 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000186/1.287, allocations: 167 kB / 1.377 GB, free: 13.93 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001173/1.288, allocations: 0.7222 MB / 1.377 GB, free: 13.5 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/1.288, allocations: 0 / 1.377 GB, free: 13.5 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.014e-06/1.288, allocations: 0 / 1.377 GB, free: 13.5 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.294e-05/1.288, allocations: 1.438 kB / 1.377 GB, free: 13.5 MB / 1.076 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.001079/1.289, allocations: 0.6442 MB / 1.378 GB, free: 12.93 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/1.289, allocations: 9.656 kB / 1.378 GB, free: 12.93 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/1.29, allocations: 156.2 kB / 1.378 GB, free: 12.85 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005371/1.291, allocations: 321 kB / 1.378 GB, free: 12.55 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/1.291, allocations: 17.5 kB / 1.379 GB, free: 12.54 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.305e-05/1.291, allocations: 23.69 kB / 1.379 GB, free: 12.54 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004972/1.292, allocations: 271.1 kB / 1.379 GB, free: 12.35 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/1.292, allocations: 3.938 kB / 1.379 GB, free: 12.34 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.636e-05/1.292, allocations: 14.5 kB / 1.379 GB, free: 12.33 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/1.292, allocations: 6.031 kB / 1.379 GB, free: 12.33 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004381/1.292, allocations: 200.4 kB / 1.379 GB, free: 12.24 MB / 1.076 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.001474/1.294, allocations: 1.209 MB / 1.38 GB, free: 11.12 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000289/1.294, allocations: 138.8 kB / 1.38 GB, free: 11.04 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001892/1.294, allocations: 92.19 kB / 1.38 GB, free: 10.99 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005721/1.295, allocations: 302.3 kB / 1.381 GB, free: 10.68 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/1.295, allocations: 39.62 kB / 1.381 GB, free: 10.64 MB / 1.076 GB Notification: Performance of pre-optimization done (n=15): time 1.974e-06/1.295, allocations: 4 kB / 1.381 GB, free: 10.63 MB / 1.076 GB Notification: Performance of matching and sorting (n=15): time 0.0008235/1.296, allocations: 282.1 kB / 1.381 GB, free: 10.49 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/1.296, allocations: 52.84 kB / 1.381 GB, free: 10.43 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000347/1.296, allocations: 316 kB / 1.381 GB, free: 10.22 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/1.296, allocations: 27.11 kB / 1.381 GB, free: 10.19 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/1.296, allocations: 192.6 kB / 1.382 GB, free: 10.01 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.796e-05/1.296, allocations: 58.02 kB / 1.382 GB, free: 9.961 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.21e-05/1.296, allocations: 46.64 kB / 1.382 GB, free: 9.926 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001325/1.296, allocations: 337.6 kB / 1.382 GB, free: 9.594 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001713/1.297, allocations: 66.14 kB / 1.382 GB, free: 9.562 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002175/1.297, allocations: 121.7 kB / 1.382 GB, free: 9.473 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003621/1.297, allocations: 192.8 kB / 1.382 GB, free: 9.344 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/1.297, allocations: 0 / 1.382 GB, free: 9.344 MB / 1.076 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004999/1.298, allocations: 241.9 kB / 1.383 GB, free: 9.215 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/1.298, allocations: 5.219 kB / 1.383 GB, free: 9.215 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/1.298, allocations: 1.469 kB / 1.383 GB, free: 9.215 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/1.298, allocations: 2.625 kB / 1.383 GB, free: 9.215 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002015/1.298, allocations: 40.72 kB / 1.383 GB, free: 9.207 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/1.298, allocations: 3.531 kB / 1.383 GB, free: 9.207 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002324/1.298, allocations: 41.64 kB / 1.383 GB, free: 9.176 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.235e-05/1.298, allocations: 11.06 kB / 1.383 GB, free: 9.172 MB / 1.076 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.0001508/1.298, allocations: 147.5 kB / 1.383 GB, free: 9.035 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.617e-05/1.299, allocations: 29.69 kB / 1.383 GB, free: 9.02 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004894/1.299, allocations: 222.3 kB / 1.383 GB, free: 8.891 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-06/1.299, allocations: 1.188 kB / 1.383 GB, free: 8.891 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/1.299, allocations: 0 / 1.383 GB, free: 8.891 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/1.299, allocations: 5.469 kB / 1.383 GB, free: 8.887 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/1.3, allocations: 0.6814 MB / 1.384 GB, free: 8.309 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/1.3, allocations: 2.531 kB / 1.384 GB, free: 8.309 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000199/1.3, allocations: 36.03 kB / 1.384 GB, free: 8.297 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/1.3, allocations: 3 kB / 1.384 GB, free: 8.297 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/1.3, allocations: 11.22 kB / 1.384 GB, free: 8.289 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/1.3, allocations: 3.031 kB / 1.384 GB, free: 8.289 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.3, allocations: 2.062 kB / 1.384 GB, free: 8.289 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006577/1.301, allocations: 431.4 kB / 1.384 GB, free: 7.965 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/1.301, allocations: 123.1 kB / 1.384 GB, free: 7.84 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.683e-05/1.301, allocations: 11.36 kB / 1.384 GB, free: 7.832 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/1.302, allocations: 10.22 kB / 1.384 GB, free: 7.828 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.741e-05/1.302, allocations: 10.39 kB / 1.384 GB, free: 7.824 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/1.302, allocations: 9.516 kB / 1.384 GB, free: 7.82 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002509/1.302, allocations: 231.3 kB / 1.385 GB, free: 7.668 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.3e-07/1.302, allocations: 0 / 1.385 GB, free: 7.668 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004525/1.302, allocations: 86.31 kB / 1.385 GB, free: 7.648 MB / 1.076 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.0004059/1.303, allocations: 169.6 kB / 1.385 GB, free: 7.523 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004504/1.303, allocations: 175.7 kB / 1.385 GB, free: 7.445 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.303, allocations: 0 / 1.385 GB, free: 7.445 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002033/1.303, allocations: 87.7 kB / 1.385 GB, free: 7.406 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000932/1.304, allocations: 169.4 kB / 1.385 GB, free: 7.328 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/1.306, allocations: 0.594 MB / 1.386 GB, free: 6.891 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/1.306, allocations: 0.7747 MB / 1.387 GB, free: 6.152 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002224/1.306, allocations: 68.95 kB / 1.387 GB, free: 6.125 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.064e-05/1.306, allocations: 24.66 kB / 1.387 GB, free: 6.117 MB / 1.076 GB Notification: Performance of SimCode: time 2.21e-07/1.306, allocations: 0 / 1.387 GB, free: 6.117 MB / 1.076 GB Notification: Performance of Templates: time 0.01205/1.318, allocations: 5.853 MB / 1.392 GB, free: 3.207 MB / 1.076 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches