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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.26/2.26, allocations: 390.5 MB / 398 MB, free: 10.93 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001815/0.001814, allocations: 180.9 kB / 491.2 MB, free: 1.547 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.73/1.73, allocations: 221.5 MB / 0.7868 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008731/0.0008731, allocations: 93.89 kB / 0.9269 GB, free: 13.81 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.52e-05/1.536e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2447, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.294/5.539, allocations: 1.906 GB / 3.119 GB, free: 424 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003153/5.539, allocations: 84.45 kB / 3.119 GB, free: 423.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.4436/5.983, allocations: 243.7 MB / 3.357 GB, free: 175 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.004e-06/5.983, allocations: 0 / 3.357 GB, free: 175 MB / 1.151 GB Notification: Performance of Transformations before backend: time 2.459e-05/5.983, allocations: 8 kB / 3.357 GB, free: 175 MB / 1.151 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.001071/5.984, allocations: 0.6312 MB / 3.357 GB, free: 174.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/5.984, allocations: 8.031 kB / 3.357 GB, free: 174.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/5.985, allocations: 159.3 kB / 3.358 GB, free: 174.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000422/5.986, allocations: 305.9 kB / 3.358 GB, free: 173.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/5.986, allocations: 8 kB / 3.358 GB, free: 173.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.639e-05/5.986, allocations: 15.98 kB / 3.358 GB, free: 173.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002548/5.986, allocations: 148.8 kB / 3.358 GB, free: 173.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002991/5.986, allocations: 218.6 kB / 3.358 GB, free: 173.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/5.986, allocations: 4 kB / 3.358 GB, free: 173.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/5.986, allocations: 3.953 kB / 3.358 GB, free: 173.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/5.986, allocations: 4 kB / 3.358 GB, free: 173.4 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.001115/5.987, allocations: 1.14 MB / 3.359 GB, free: 172.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/5.988, allocations: 106.5 kB / 3.359 GB, free: 172.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.125e-05/5.988, allocations: 60.84 kB / 3.359 GB, free: 172 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004609/5.988, allocations: 303.2 kB / 3.36 GB, free: 171.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/5.988, allocations: 34.56 kB / 3.36 GB, free: 171.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=15): time 1.994e-06/5.988, allocations: 4 kB / 3.36 GB, free: 171.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=15): time 0.000613/5.989, allocations: 197.5 kB / 3.36 GB, free: 171.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.184e-05/5.989, allocations: 51.41 kB / 3.36 GB, free: 171.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/5.989, allocations: 206.3 kB / 3.36 GB, free: 171.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/5.989, allocations: 29.7 kB / 3.36 GB, free: 171.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 9.129e-05/5.989, allocations: 180.1 kB / 3.36 GB, free: 171 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.056e-05/5.989, allocations: 55.19 kB / 3.36 GB, free: 170.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.395e-06/5.989, allocations: 0 / 3.36 GB, free: 170.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.763e-05/5.989, allocations: 338.8 kB / 3.361 GB, free: 170.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.503e-05/5.989, allocations: 44.36 kB / 3.361 GB, free: 170.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/5.989, allocations: 108.5 kB / 3.361 GB, free: 170.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002037/5.99, allocations: 92.8 kB / 3.361 GB, free: 170.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/5.99, allocations: 0 / 3.361 GB, free: 170.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003562/5.99, allocations: 217.2 kB / 3.361 GB, free: 170.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/5.99, allocations: 4 kB / 3.361 GB, free: 170.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/5.99, allocations: 7.984 kB / 3.361 GB, free: 170.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/5.99, allocations: 0 / 3.361 GB, free: 170.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/5.99, allocations: 43.97 kB / 3.361 GB, free: 170 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/5.99, allocations: 12.03 kB / 3.361 GB, free: 170 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002084/5.99, allocations: 23.83 kB / 3.361 GB, free: 170 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.77e-05/5.991, allocations: 12 kB / 3.361 GB, free: 170 MB / 1.151 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.802e-05/5.991, allocations: 108.9 kB / 3.361 GB, free: 169.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.321e-05/5.991, allocations: 23.72 kB / 3.361 GB, free: 169.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000387/5.991, allocations: 211.3 kB / 3.362 GB, free: 169.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/5.991, allocations: 4 kB / 3.362 GB, free: 169.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/5.991, allocations: 0 / 3.362 GB, free: 169.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/5.991, allocations: 4.078 kB / 3.362 GB, free: 169.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007662/5.992, allocations: 0.6176 MB / 3.362 GB, free: 168.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/5.992, allocations: 0 / 3.362 GB, free: 168.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/5.992, allocations: 31.98 kB / 3.362 GB, free: 168.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/5.992, allocations: 4 kB / 3.362 GB, free: 168.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/5.992, allocations: 4 kB / 3.362 GB, free: 168.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/5.992, allocations: 0 / 3.362 GB, free: 168.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/5.992, allocations: 11.92 kB / 3.362 GB, free: 168.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004992/5.993, allocations: 467.1 kB / 3.363 GB, free: 168.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 8.042e-05/5.993, allocations: 112.8 kB / 3.363 GB, free: 168.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.768e-05/5.993, allocations: 4 kB / 3.363 GB, free: 168.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/5.993, allocations: 19.98 kB / 3.363 GB, free: 168.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.695e-05/5.993, allocations: 15.94 kB / 3.363 GB, free: 168.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/5.993, allocations: 11.98 kB / 3.363 GB, free: 168.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001145/5.993, allocations: 162 kB / 3.363 GB, free: 168 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/5.993, allocations: 0 / 3.363 GB, free: 168 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0005923/5.994, allocations: 143.8 kB / 3.363 GB, free: 167.9 MB / 1.151 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001612/5.995, allocations: 1.17 MB / 3.364 GB, free: 166.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002369/5.996, allocations: 125.5 kB / 3.364 GB, free: 166.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/5.996, allocations: 3.938 kB / 3.364 GB, free: 166.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 8.206e-05/5.996, allocations: 63.86 kB / 3.365 GB, free: 166.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006368/5.996, allocations: 114.1 kB / 3.365 GB, free: 166.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000768/5.997, allocations: 416.5 kB / 3.365 GB, free: 165.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/5.997, allocations: 0.7835 MB / 3.366 GB, free: 165.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001897/5.998, allocations: 58.02 kB / 3.366 GB, free: 165.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.504e-05/5.998, allocations: 23.44 kB / 3.366 GB, free: 165.1 MB / 1.151 GB Notification: Performance of SimCode: time 2.61e-07/5.998, allocations: 0 / 3.366 GB, free: 165.1 MB / 1.151 GB Notification: Performance of Templates: time 0.01764/6.015, allocations: 9.809 MB / 3.375 GB, free: 155.3 MB / 1.151 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","../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches