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.001138/0.001138, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.001491/0.001491, allocations: 168.7 kB / 15.95 MB, free: 204 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.346/1.346, allocations: 223.3 MB / 240 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.734/2.734, allocations: 462.6 MB / 0.736 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003097/0.0003097, allocations: 8.219 kB / 0.9021 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.2633, allocations: 159.6 MB / 1.058 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1576/0.4209, allocations: 152.1 MB / 1.207 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002493/0.4235, allocations: 1.466 MB / 1.208 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002376/0.4237, allocations: 11.94 kB / 1.208 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000416/0.4242, allocations: 103.2 kB / 1.208 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001264/0.4254, allocations: 0.5131 MB / 1.209 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001123/0.4266, allocations: 462.4 kB / 1.209 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0008372/0.4274, allocations: 0.8463 MB / 1.21 GB, free: 9.473 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003082/0.4277, allocations: 181.1 kB / 1.21 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005606/0.4283, allocations: 318.7 kB / 1.21 GB, free: 8.984 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002746/0.4286, allocations: 219.1 kB / 1.211 GB, free: 8.77 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.551e-05/0.4286, allocations: 16 kB / 1.211 GB, free: 8.754 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009413/0.4296, allocations: 466.8 kB / 1.211 GB, free: 8.297 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.4297, allocations: 91.75 kB / 1.211 GB, free: 8.207 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.488e-05/0.4298, allocations: 89.52 kB / 1.211 GB, free: 8.113 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005173/0.4303, allocations: 435 kB / 1.212 GB, free: 7.688 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.4303, allocations: 8 kB / 1.212 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.022e-06/0.4304, allocations: 0 / 1.212 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.4304, allocations: 4 kB / 1.212 GB, free: 7.676 MB / 0.9669 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.0008109/0.4312, allocations: 0.6077 MB / 1.212 GB, free: 7.02 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.4312, allocations: 12.03 kB / 1.212 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001095/0.4323, allocations: 155.5 kB / 1.212 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003897/0.4327, allocations: 302.9 kB / 1.213 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.4328, allocations: 20.52 kB / 1.213 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.369e-05/0.4328, allocations: 24 kB / 1.213 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004924/0.4333, allocations: 285.8 kB / 1.213 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.4333, allocations: 3.938 kB / 1.213 GB, free: 6.172 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.332e-05/0.4334, allocations: 12 kB / 1.213 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.4334, allocations: 4 kB / 1.213 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004139/0.4338, allocations: 212.9 kB / 1.213 GB, free: 5.949 MB / 0.9669 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.001358/0.4352, allocations: 1.234 MB / 1.214 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000281/0.4355, allocations: 158.4 kB / 1.215 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001814/0.4357, allocations: 96.8 kB / 1.215 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005627/0.4362, allocations: 319.2 kB / 1.215 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.4363, allocations: 34.52 kB / 1.215 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=17): time 2.785e-06/0.4363, allocations: 0 / 1.215 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of matching and sorting (n=17): time 0.0007517/0.437, allocations: 311.1 kB / 1.215 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.4371, allocations: 55.41 kB / 1.215 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003183/0.4374, allocations: 320.5 kB / 1.216 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.4374, allocations: 33.7 kB / 1.216 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.4376, allocations: 180.2 kB / 1.216 GB, free: 3.023 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.806e-05/0.4376, allocations: 63.09 kB / 1.216 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.097e-05/0.4376, allocations: 4 kB / 1.216 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.4378, allocations: 342.8 kB / 1.216 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/0.4379, allocations: 75.95 kB / 1.216 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002035/0.4382, allocations: 131.3 kB / 1.216 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001979/0.4384, allocations: 98.14 kB / 1.217 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4384, allocations: 0 / 1.217 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004704/0.4389, allocations: 257.3 kB / 1.217 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.4389, allocations: 7.953 kB / 1.217 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.4389, allocations: 3.984 kB / 1.217 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.4389, allocations: 7.984 kB / 1.217 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/0.4391, allocations: 51.92 kB / 1.217 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.4391, allocations: 4 kB / 1.217 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/0.4393, allocations: 35.83 kB / 1.217 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.951e-05/0.4394, allocations: 15.98 kB / 1.217 GB, free: 1.918 MB / 0.9669 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.0001421/0.4395, allocations: 145.8 kB / 1.217 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.138e-05/0.4396, allocations: 31.62 kB / 1.217 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004887/0.4401, allocations: 246.8 kB / 1.217 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.4401, allocations: 0 / 1.217 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4401, allocations: 4 kB / 1.217 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.4401, allocations: 0 / 1.217 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.4412, allocations: 0.7223 MB / 1.218 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.4412, allocations: 0 / 1.218 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000181/0.4414, allocations: 44.14 kB / 1.218 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.4414, allocations: 4 kB / 1.218 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.4414, allocations: 7.938 kB / 1.218 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.4414, allocations: 4 kB / 1.218 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4414, allocations: 0 / 1.218 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006516/0.4421, allocations: 472.9 kB / 1.219 GB, free: 128 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.4422, allocations: 124.8 kB / 1.219 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.203e-05/0.4423, allocations: 4 kB / 1.219 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001915/0.4425, allocations: 19.98 kB / 1.219 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/0.4425, allocations: 16.05 kB / 1.219 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.4425, allocations: 8 kB / 1.219 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002184/0.4428, allocations: 234.9 kB / 1.219 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4428, allocations: 0 / 1.219 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003847/0.4432, allocations: 87.73 kB / 1.219 GB, free: 15.62 MB / 0.9825 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.0003314/0.4435, allocations: 164 kB / 1.219 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004277/0.4439, allocations: 186.2 kB / 1.219 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.444, allocations: 0 / 1.219 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001941/0.4442, allocations: 104 kB / 1.219 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008723/0.445, allocations: 161.8 kB / 1.22 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009787/0.446, allocations: 0.739 MB / 1.22 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.4464, allocations: 0.7836 MB / 1.221 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002185/0.4466, allocations: 70.86 kB / 1.221 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.672e-05/0.4467, allocations: 27.44 kB / 1.221 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of SimCode: time 2.61e-07/0.4467, allocations: 0 / 1.221 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of Templates: time 0.009605/0.4563, allocations: 5.35 MB / 1.226 GB, free: 8.078 MB / 0.9825 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches