Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Velocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senDyn.port_a.m_flow|senDyn.v|senSteSta.v",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity") translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senDyn.port_a.m_flow|senDyn.v|senSteSta.v",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001375/0.001375, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.51/2.51, allocations: 436.5 MB / 0.7104 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003268/0.0003269, allocations: 12 kB / 0.8708 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5922/0.5926, allocations: 153.7 MB / 1.021 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1547/0.7473, allocations: 140.2 MB / 1.158 GB, free: 4.539 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002588/0.75, allocations: 1.588 MB / 1.159 GB, free: 2.949 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002256/0.7502, allocations: 7.938 kB / 1.159 GB, free: 2.941 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0005617/0.7508, allocations: 183.2 kB / 1.159 GB, free: 2.762 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001157/0.752, allocations: 0.5141 MB / 1.16 GB, free: 2.246 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.7531, allocations: 496.8 kB / 1.16 GB, free: 1.766 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.000555/0.7537, allocations: 448.3 kB / 1.161 GB, free: 1.328 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003347/0.754, allocations: 189.2 kB / 1.161 GB, free: 1.145 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007594/0.7548, allocations: 351 kB / 1.161 GB, free: 0.8008 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002046/0.755, allocations: 155.3 kB / 1.162 GB, free: 0.6484 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.283e-05/0.7551, allocations: 12 kB / 1.162 GB, free: 0.6367 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009163/0.756, allocations: 431.3 kB / 1.162 GB, free: 220 kB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 9.92e-05/0.7561, allocations: 95.7 kB / 1.162 GB, free: 124 kB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 7.282e-05/0.7562, allocations: 85.58 kB / 1.162 GB, free: 32 kB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005071/0.7567, allocations: 391.1 kB / 1.162 GB, free: 15.65 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.7567, allocations: 0 / 1.162 GB, free: 15.65 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.262e-06/0.7567, allocations: 4 kB / 1.162 GB, free: 15.64 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.7567, allocations: 0 / 1.162 GB, free: 15.64 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0008414/0.7576, allocations: 0.6 MB / 1.163 GB, free: 15 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.7576, allocations: 15.98 kB / 1.163 GB, free: 14.98 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/0.7588, allocations: 163.4 kB / 1.163 GB, free: 14.82 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004114/0.7592, allocations: 298.9 kB / 1.164 GB, free: 14.49 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.7592, allocations: 20.5 kB / 1.164 GB, free: 14.47 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.101e-05/0.7593, allocations: 27.95 kB / 1.164 GB, free: 14.44 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000476/0.7597, allocations: 281.9 kB / 1.164 GB, free: 14.14 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.7598, allocations: 0 / 1.164 GB, free: 14.14 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.391e-05/0.7598, allocations: 15.98 kB / 1.164 GB, free: 14.13 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.7598, allocations: 4 kB / 1.164 GB, free: 14.12 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004269/0.7602, allocations: 220.6 kB / 1.164 GB, free: 13.91 MB / 0.92 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.00138/0.7616, allocations: 1.227 MB / 1.165 GB, free: 12.58 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002788/0.7619, allocations: 154.5 kB / 1.165 GB, free: 12.42 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003978/0.7623, allocations: 137 kB / 1.166 GB, free: 12.27 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.7624, allocations: 34.5 kB / 1.166 GB, free: 12.22 MB / 0.92 GB Notification: Performance of pre-optimization done (n=17): time 1.543e-06/0.7624, allocations: 0 / 1.166 GB, free: 12.22 MB / 0.92 GB Notification: Performance of matching and sorting (n=17): time 0.000776/0.7631, allocations: 315.2 kB / 1.166 GB, free: 11.91 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.7632, allocations: 51.41 kB / 1.166 GB, free: 11.85 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000312/0.7635, allocations: 320.5 kB / 1.166 GB, free: 11.52 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.7635, allocations: 33.7 kB / 1.166 GB, free: 11.48 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.7637, allocations: 188 kB / 1.166 GB, free: 11.3 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.67e-05/0.7637, allocations: 59.19 kB / 1.167 GB, free: 11.24 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.678e-06/0.7637, allocations: 4 kB / 1.167 GB, free: 11.23 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.7639, allocations: 338.8 kB / 1.167 GB, free: 10.89 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001783/0.764, allocations: 71.95 kB / 1.167 GB, free: 10.82 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002076/0.7643, allocations: 137 kB / 1.167 GB, free: 10.67 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000193/0.7645, allocations: 87.97 kB / 1.167 GB, free: 10.59 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.7645, allocations: 0 / 1.167 GB, free: 10.59 MB / 0.92 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004678/0.7649, allocations: 259.4 kB / 1.167 GB, free: 10.33 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.765, allocations: 8.078 kB / 1.167 GB, free: 10.32 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.765, allocations: 7.938 kB / 1.167 GB, free: 10.31 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.765, allocations: 7.953 kB / 1.167 GB, free: 10.3 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.7652, allocations: 47.92 kB / 1.167 GB, free: 10.26 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.7652, allocations: 4 kB / 1.167 GB, free: 10.25 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002092/0.7655, allocations: 35.67 kB / 1.167 GB, free: 10.22 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-05/0.7655, allocations: 15.98 kB / 1.167 GB, free: 10.2 MB / 0.92 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 (24): * Single equations (assignments): 24 * 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 0.0001334/0.7656, allocations: 149.8 kB / 1.168 GB, free: 10.05 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.702e-05/0.7657, allocations: 31.62 kB / 1.168 GB, free: 10.02 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004702/0.7662, allocations: 236.7 kB / 1.168 GB, free: 9.781 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.7662, allocations: 11.95 kB / 1.168 GB, free: 9.77 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.7662, allocations: 0 / 1.168 GB, free: 9.77 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.7662, allocations: 3.984 kB / 1.168 GB, free: 9.766 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.7672, allocations: 0.7146 MB / 1.169 GB, free: 8.973 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.7673, allocations: 4 kB / 1.169 GB, free: 8.969 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001754/0.7674, allocations: 39.92 kB / 1.169 GB, free: 8.93 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.7675, allocations: 4.219 kB / 1.169 GB, free: 8.926 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.7675, allocations: 8 kB / 1.169 GB, free: 8.918 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.7675, allocations: 4 kB / 1.169 GB, free: 8.914 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.7675, allocations: 0 / 1.169 GB, free: 8.914 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007085/0.7682, allocations: 0.5429 MB / 1.169 GB, free: 8.293 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.7683, allocations: 128.7 kB / 1.169 GB, free: 8.148 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.464e-05/0.7684, allocations: 8 kB / 1.169 GB, free: 8.141 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/0.7686, allocations: 16.05 kB / 1.169 GB, free: 8.125 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.458e-05/0.7687, allocations: 27.86 kB / 1.169 GB, free: 8.098 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.7687, allocations: 11.94 kB / 1.169 GB, free: 8.086 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002124/0.7689, allocations: 227 kB / 1.17 GB, free: 7.867 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7689, allocations: 0 / 1.17 GB, free: 7.867 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003923/0.7693, allocations: 84 kB / 1.17 GB, free: 7.785 MB / 0.92 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 (17): * Single equations (assignments): 17 * 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.0003615/0.7697, allocations: 157.6 kB / 1.17 GB, free: 7.629 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004371/0.7701, allocations: 191.8 kB / 1.17 GB, free: 7.441 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.7701, allocations: 0 / 1.17 GB, free: 7.441 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.000194/0.7703, allocations: 100.4 kB / 1.17 GB, free: 7.344 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007881/0.7711, allocations: 154 kB / 1.17 GB, free: 7.199 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009877/0.7721, allocations: 0.7507 MB / 1.171 GB, free: 6.391 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/0.7725, allocations: 0.7914 MB / 1.172 GB, free: 5.574 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002198/0.7727, allocations: 62.92 kB / 1.172 GB, free: 5.516 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.026e-05/0.7728, allocations: 27.42 kB / 1.172 GB, free: 5.488 MB / 0.92 GB Notification: Performance of SimCode: time 3.51e-07/0.7728, allocations: 4 kB / 1.172 GB, free: 5.484 MB / 0.92 GB Notification: Performance of Templates: time 0.009491/0.7823, allocations: 5.338 MB / 1.177 GB, free: 244 kB / 0.92 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_Velocity.csv","../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches