Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.001074/0.001074, allocations: 85.94 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.001357/0.001357, 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.394/1.394, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.609/2.609, allocations: 437.8 MB / 0.7117 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003396/0.0003396, allocations: 12 kB / 0.8722 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5855/0.5858, allocations: 153.8 MB / 1.022 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.159/0.7449, allocations: 152.1 MB / 1.171 GB, free: 7.523 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00241/0.7474, allocations: 1.487 MB / 1.172 GB, free: 6.035 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002979/0.7477, allocations: 15.88 kB / 1.172 GB, free: 6.02 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003866/0.7481, allocations: 107.2 kB / 1.172 GB, free: 5.914 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001273/0.7494, allocations: 0.5014 MB / 1.173 GB, free: 5.41 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.7506, allocations: 458.4 kB / 1.173 GB, free: 4.965 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0009203/0.7515, allocations: 0.8501 MB / 1.174 GB, free: 4.109 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003422/0.7518, allocations: 181.1 kB / 1.174 GB, free: 3.934 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005951/0.7525, allocations: 314.8 kB / 1.175 GB, free: 3.625 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000275/0.7527, allocations: 219.1 kB / 1.175 GB, free: 3.41 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.672e-05/0.7528, allocations: 16 kB / 1.175 GB, free: 3.395 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009737/0.7538, allocations: 470.8 kB / 1.175 GB, free: 2.934 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.7539, allocations: 103.7 kB / 1.175 GB, free: 2.832 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.163e-05/0.754, allocations: 81.58 kB / 1.176 GB, free: 2.746 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005035/0.7545, allocations: 439 kB / 1.176 GB, free: 2.316 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.7545, allocations: 4 kB / 1.176 GB, free: 2.312 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.575e-06/0.7545, allocations: 0 / 1.176 GB, free: 2.312 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.7545, allocations: 7.938 kB / 1.176 GB, free: 2.305 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.000846/0.7554, allocations: 0.6078 MB / 1.177 GB, free: 1.648 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.7554, allocations: 15.97 kB / 1.177 GB, free: 1.633 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/0.7566, allocations: 151.5 kB / 1.177 GB, free: 1.484 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003965/0.757, allocations: 302.8 kB / 1.177 GB, free: 1.148 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.757, allocations: 20.56 kB / 1.177 GB, free: 1.129 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.115e-05/0.757, allocations: 27.95 kB / 1.177 GB, free: 1.102 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004955/0.7575, allocations: 285.9 kB / 1.177 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.7576, allocations: 0 / 1.177 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.396e-05/0.7576, allocations: 8 kB / 1.177 GB, free: 0.793 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.7576, allocations: 4 kB / 1.177 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004252/0.758, allocations: 220.9 kB / 1.178 GB, free: 0.5742 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.001378/0.7594, allocations: 1.227 MB / 1.179 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002891/0.7597, allocations: 150.5 kB / 1.179 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001862/0.7599, allocations: 100.7 kB / 1.179 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005709/0.7605, allocations: 315.6 kB / 1.179 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.7605, allocations: 34.55 kB / 1.179 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=17): time 1.673e-06/0.7606, allocations: 3.938 kB / 1.179 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17): time 0.0007836/0.7613, allocations: 319.1 kB / 1.18 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.7614, allocations: 55.41 kB / 1.18 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003272/0.7617, allocations: 320.5 kB / 1.18 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.7618, allocations: 29.7 kB / 1.18 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.7619, allocations: 180.2 kB / 1.18 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.986e-05/0.7619, allocations: 67.09 kB / 1.18 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.338e-06/0.762, allocations: 0 / 1.18 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.7621, allocations: 342.8 kB / 1.181 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001784/0.7623, allocations: 79.89 kB / 1.181 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002128/0.7625, allocations: 126.7 kB / 1.181 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/0.7627, allocations: 91.95 kB / 1.181 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.7627, allocations: 0 / 1.181 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004821/0.7632, allocations: 259.4 kB / 1.181 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.7632, allocations: 4 kB / 1.181 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.7632, allocations: 0 / 1.181 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.7633, allocations: 7.953 kB / 1.181 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/0.7635, allocations: 51.91 kB / 1.181 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.7635, allocations: 4 kB / 1.181 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002098/0.7637, allocations: 43.73 kB / 1.181 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-05/0.7637, allocations: 8 kB / 1.181 GB, free: 12.56 MB / 0.9356 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.0001416/0.7639, allocations: 153.8 kB / 1.181 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.812e-05/0.7639, allocations: 31.62 kB / 1.181 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004837/0.7644, allocations: 242.1 kB / 1.182 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.7645, allocations: 3.953 kB / 1.182 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.7645, allocations: 4 kB / 1.182 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.7645, allocations: 3.938 kB / 1.182 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/0.7655, allocations: 0.7146 MB / 1.182 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.7655, allocations: 0 / 1.182 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000179/0.7657, allocations: 48.12 kB / 1.182 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.7657, allocations: 4 kB / 1.182 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.7657, allocations: 4 kB / 1.182 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.7658, allocations: 4 kB / 1.182 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.7658, allocations: 0 / 1.182 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006804/0.7664, allocations: 482.4 kB / 1.183 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/0.7666, allocations: 120.8 kB / 1.183 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.344e-05/0.7666, allocations: 7.984 kB / 1.183 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001965/0.7668, allocations: 19.98 kB / 1.183 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.963e-05/0.7669, allocations: 23.98 kB / 1.183 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.7669, allocations: 4 kB / 1.183 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002254/0.7671, allocations: 227 kB / 1.183 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7671, allocations: 0 / 1.183 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003932/0.7675, allocations: 83.94 kB / 1.183 GB, free: 10.26 MB / 0.9356 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.0003522/0.7679, allocations: 167.4 kB / 1.184 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004436/0.7684, allocations: 195.6 kB / 1.184 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.7684, allocations: 192 / 1.184 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002117/0.7686, allocations: 95.89 kB / 1.184 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000873/0.7695, allocations: 158.8 kB / 1.184 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.7705, allocations: 0.747 MB / 1.185 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.7708, allocations: 0.7758 MB / 1.185 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002318/0.7711, allocations: 62.94 kB / 1.185 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.636e-05/0.7712, allocations: 35.42 kB / 1.186 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of SimCode: time 4.71e-07/0.7712, allocations: 0 / 1.186 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of Templates: time 0.01053/0.7817, allocations: 5.333 MB / 1.191 GB, free: 2.727 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_Velocity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches