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.005113/0.005113, allocations: 100.5 kB / 15.87 MB, free: 5.863 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.001122/0.001122, allocations: 188.8 kB / 16.79 MB, free: 5.805 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.394/1.394, allocations: 222.9 MB / 240.5 MB, free: 4.555 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.603/2.603, allocations: 437 MB / 0.7106 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 67.91 kB / 0.8692 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.664/0.6655, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1786/0.8441, allocations: 165.2 MB / 1.179 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002928/0.847, allocations: 1.576 MB / 1.18 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004963/0.8476, allocations: 15.88 kB / 1.18 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005763/0.8481, allocations: 119.2 kB / 1.18 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001894/0.8501, allocations: 0.6652 MB / 1.181 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001536/0.8517, allocations: 0.5412 MB / 1.181 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001069/0.8527, allocations: 0.9906 MB / 1.182 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004224/0.8532, allocations: 217.1 kB / 1.183 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007578/0.8539, allocations: 310.7 kB / 1.183 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000406/0.8544, allocations: 239 kB / 1.183 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.008e-05/0.8544, allocations: 16 kB / 1.183 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001695/0.8561, allocations: 1.009 MB / 1.184 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000157/0.8563, allocations: 107.7 kB / 1.184 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002425/0.8566, allocations: 171.1 kB / 1.184 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000753/0.8573, allocations: 0.499 MB / 1.185 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.8573, allocations: 0 / 1.185 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.062e-06/0.8573, allocations: 0 / 1.185 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.129e-05/0.8574, allocations: 0 / 1.185 GB, free: 6.512 MB / 0.9356 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.001149/0.8585, allocations: 0.6623 MB / 1.186 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.8586, allocations: 8.031 kB / 1.186 GB, free: 5.793 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001279/0.8598, allocations: 159.4 kB / 1.186 GB, free: 5.637 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004673/0.8603, allocations: 314.7 kB / 1.186 GB, free: 5.289 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.8603, allocations: 12.56 kB / 1.186 GB, free: 5.277 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.487e-05/0.8604, allocations: 31.88 kB / 1.186 GB, free: 5.246 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005345/0.8609, allocations: 289.8 kB / 1.186 GB, free: 4.941 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.861, allocations: 0 / 1.186 GB, free: 4.941 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/0.861, allocations: 8 kB / 1.186 GB, free: 4.934 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.861, allocations: 8 kB / 1.186 GB, free: 4.926 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004527/0.8615, allocations: 196.9 kB / 1.186 GB, free: 4.734 MB / 0.9356 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.001546/0.863, allocations: 1.234 MB / 1.188 GB, free: 3.395 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003086/0.8633, allocations: 154.4 kB / 1.188 GB, free: 3.234 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001982/0.8636, allocations: 92.8 kB / 1.188 GB, free: 3.141 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006712/0.8642, allocations: 303.2 kB / 1.188 GB, free: 2.789 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.8643, allocations: 34.56 kB / 1.188 GB, free: 2.746 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=17): time 1.703e-06/0.8643, allocations: 0 / 1.188 GB, free: 2.746 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17): time 0.0008446/0.8651, allocations: 299.7 kB / 1.189 GB, free: 2.449 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.8652, allocations: 55.34 kB / 1.189 GB, free: 2.383 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003369/0.8655, allocations: 324.5 kB / 1.189 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.8656, allocations: 29.7 kB / 1.189 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.8657, allocations: 184.1 kB / 1.189 GB, free: 1.832 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.319e-05/0.8658, allocations: 55.2 kB / 1.189 GB, free: 1.777 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.881e-05/0.8659, allocations: 53.61 kB / 1.189 GB, free: 1.719 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.866, allocations: 342.8 kB / 1.19 GB, free: 1.375 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/0.8662, allocations: 67.94 kB / 1.19 GB, free: 1.309 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002287/0.8664, allocations: 122.9 kB / 1.19 GB, free: 1.172 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003637/0.8668, allocations: 197 kB / 1.19 GB, free: 0.9609 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.8668, allocations: 3.938 kB / 1.19 GB, free: 0.957 MB / 0.9356 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005115/0.8673, allocations: 250.5 kB / 1.19 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.8674, allocations: 12.09 kB / 1.19 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.8674, allocations: 0 / 1.19 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.8674, allocations: 4 kB / 1.19 GB, free: 0.6914 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002116/0.8676, allocations: 43.92 kB / 1.19 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.8676, allocations: 0 / 1.19 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002613/0.8679, allocations: 39.66 kB / 1.19 GB, free: 0.6094 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.546e-05/0.868, allocations: 12 kB / 1.19 GB, free: 0.5977 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001572/0.8681, allocations: 153.8 kB / 1.19 GB, free: 448 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.36e-05/0.8682, allocations: 31.62 kB / 1.19 GB, free: 416 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004977/0.8687, allocations: 228.6 kB / 1.191 GB, free: 180 kB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.8687, allocations: 4 kB / 1.191 GB, free: 176 kB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.8687, allocations: 0 / 1.191 GB, free: 176 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.8687, allocations: 3.984 kB / 1.191 GB, free: 172 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/0.8699, allocations: 0.7106 MB / 1.191 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.8699, allocations: 224 / 1.191 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001781/0.8701, allocations: 39.98 kB / 1.191 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/0.8701, allocations: 4 kB / 1.191 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.8702, allocations: 8 kB / 1.191 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.723e-06/0.8702, allocations: 11.86 kB / 1.191 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.8702, allocations: 4 kB / 1.191 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006984/0.8709, allocations: 447.1 kB / 1.192 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001504/0.8711, allocations: 124.7 kB / 1.192 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.174e-05/0.8711, allocations: 12 kB / 1.192 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/0.8713, allocations: 23.86 kB / 1.192 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.174e-05/0.8714, allocations: 15.97 kB / 1.192 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.8714, allocations: 8 kB / 1.192 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002322/0.8716, allocations: 231 kB / 1.192 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8717, allocations: 0 / 1.192 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004125/0.8721, allocations: 84 kB / 1.192 GB, free: 14.34 MB / 0.9512 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 (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.0004227/0.8725, allocations: 156.4 kB / 1.192 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004621/0.873, allocations: 183.8 kB / 1.193 GB, free: 14 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.873, allocations: 0 / 1.193 GB, free: 14 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002056/0.8732, allocations: 99.84 kB / 1.193 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009152/0.8741, allocations: 167.1 kB / 1.193 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.8753, allocations: 0.7465 MB / 1.194 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003648/0.8756, allocations: 0.7758 MB / 1.194 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.198e-05/0.8757, allocations: 27.44 kB / 1.194 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of SimCode: time 3.687e-06/0.8757, allocations: 0 / 1.194 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of Templates: time 0.0095/0.8853, allocations: 4.924 MB / 1.199 GB, free: 7.246 MB / 0.9512 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches