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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001358/0.001358, allocations: 109.3 kB / 15.99 MB, free: 5.91 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.001438/0.001438, allocations: 192.5 kB / 16.91 MB, free: 5.754 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.338/1.338, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.63/2.63, allocations: 469.4 MB / 0.7423 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 62.66 kB / 0.9083 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3393, allocations: 159.1 MB / 1.064 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.7334/1.073, allocations: 165.1 MB / 1.225 GB, free: 2.41 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003117/1.076, allocations: 1.558 MB / 1.227 GB, free: 1.141 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005659/1.077, allocations: 8.906 kB / 1.227 GB, free: 1.137 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006086/1.077, allocations: 119.2 kB / 1.227 GB, free: 1.035 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001957/1.079, allocations: 0.6752 MB / 1.227 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001689/1.081, allocations: 0.5562 MB / 1.228 GB, free: 140 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0009777/1.082, allocations: 0.7291 MB / 1.229 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004247/1.082, allocations: 221 kB / 1.229 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007647/1.083, allocations: 355.8 kB / 1.229 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000356/1.083, allocations: 236 kB / 1.229 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.861e-05/1.083, allocations: 27.84 kB / 1.229 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001485/1.085, allocations: 0.8956 MB / 1.23 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001571/1.085, allocations: 110.2 kB / 1.23 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002372/1.085, allocations: 169.4 kB / 1.23 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0008431/1.086, allocations: 0.5142 MB / 1.231 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/1.086, allocations: 0 / 1.231 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.793e-06/1.086, allocations: 0 / 1.231 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.439e-05/1.086, allocations: 0 / 1.231 GB, free: 14.27 MB / 0.9512 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.001279/1.088, allocations: 0.6617 MB / 1.232 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/1.088, allocations: 12.62 kB / 1.232 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001228/1.089, allocations: 159.4 kB / 1.232 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004649/1.089, allocations: 306.7 kB / 1.232 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/1.089, allocations: 24.5 kB / 1.232 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.596e-05/1.089, allocations: 31.88 kB / 1.232 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005017/1.09, allocations: 273.9 kB / 1.232 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/1.09, allocations: 8 kB / 1.232 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.362e-05/1.09, allocations: 8 kB / 1.232 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/1.09, allocations: 11.98 kB / 1.232 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004064/1.09, allocations: 204.9 kB / 1.233 GB, free: 12.6 MB / 0.9512 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.001409/1.092, allocations: 1.219 MB / 1.234 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002821/1.092, allocations: 148.5 kB / 1.234 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/1.092, allocations: 92.8 kB / 1.234 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000648/1.093, allocations: 311.2 kB / 1.234 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/1.093, allocations: 34.56 kB / 1.234 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=17): time 1.944e-06/1.093, allocations: 0 / 1.234 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of matching and sorting (n=17): time 0.0007565/1.094, allocations: 291.4 kB / 1.235 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/1.094, allocations: 59.41 kB / 1.235 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003234/1.094, allocations: 320.5 kB / 1.235 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/1.094, allocations: 25.7 kB / 1.235 GB, free: 9.914 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/1.094, allocations: 188.1 kB / 1.235 GB, free: 9.727 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.627e-05/1.094, allocations: 59.19 kB / 1.235 GB, free: 9.668 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.601e-05/1.094, allocations: 45.61 kB / 1.235 GB, free: 9.617 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000127/1.095, allocations: 342.8 kB / 1.236 GB, free: 9.273 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/1.095, allocations: 71.95 kB / 1.236 GB, free: 9.203 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/1.095, allocations: 126.7 kB / 1.236 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003406/1.095, allocations: 201 kB / 1.236 GB, free: 8.848 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/1.095, allocations: 3.938 kB / 1.236 GB, free: 8.844 MB / 0.9512 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004553/1.096, allocations: 249.6 kB / 1.236 GB, free: 8.594 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/1.096, allocations: 4 kB / 1.236 GB, free: 8.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/1.096, allocations: 4.094 kB / 1.236 GB, free: 8.586 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/1.096, allocations: 4 kB / 1.236 GB, free: 8.582 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/1.096, allocations: 51.91 kB / 1.236 GB, free: 8.531 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/1.096, allocations: 4 kB / 1.236 GB, free: 8.527 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/1.096, allocations: 36.55 kB / 1.236 GB, free: 8.492 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.068e-05/1.096, allocations: 8 kB / 1.236 GB, free: 8.484 MB / 0.9512 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.0001581/1.097, allocations: 157.7 kB / 1.237 GB, free: 8.32 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.385e-05/1.097, allocations: 35.62 kB / 1.237 GB, free: 8.285 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004624/1.097, allocations: 228.4 kB / 1.237 GB, free: 8.062 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/1.097, allocations: 3.938 kB / 1.237 GB, free: 8.059 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/1.097, allocations: 4 kB / 1.237 GB, free: 8.055 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/1.097, allocations: 0 / 1.237 GB, free: 8.055 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/1.098, allocations: 0.7029 MB / 1.237 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/1.098, allocations: 4 kB / 1.237 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001735/1.098, allocations: 44.12 kB / 1.238 GB, free: 7.227 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/1.098, allocations: 4 kB / 1.238 GB, free: 7.223 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/1.098, allocations: 4 kB / 1.238 GB, free: 7.219 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/1.098, allocations: 7.938 kB / 1.238 GB, free: 7.211 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.098, allocations: 0 / 1.238 GB, free: 7.211 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000648/1.099, allocations: 454.6 kB / 1.238 GB, free: 6.73 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/1.099, allocations: 120.7 kB / 1.238 GB, free: 6.594 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.584e-05/1.099, allocations: 4 kB / 1.238 GB, free: 6.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/1.099, allocations: 27.92 kB / 1.238 GB, free: 6.562 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.097e-05/1.099, allocations: 19.92 kB / 1.238 GB, free: 6.543 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/1.099, allocations: 4 kB / 1.238 GB, free: 6.539 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002115/1.1, allocations: 231 kB / 1.238 GB, free: 6.316 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.51e-07/1.1, allocations: 0 / 1.238 GB, free: 6.316 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003967/1.1, allocations: 80 kB / 1.238 GB, free: 6.238 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.0003857/1.101, allocations: 176.2 kB / 1.239 GB, free: 6.066 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004409/1.101, allocations: 191.5 kB / 1.239 GB, free: 5.879 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/1.101, allocations: 4.188 kB / 1.239 GB, free: 5.875 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001881/1.101, allocations: 91.83 kB / 1.239 GB, free: 5.785 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008603/1.102, allocations: 174 kB / 1.239 GB, free: 5.621 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/1.103, allocations: 0.7457 MB / 1.24 GB, free: 4.82 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/1.103, allocations: 0.7795 MB / 1.241 GB, free: 4.012 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.176e-05/1.104, allocations: 31.44 kB / 1.241 GB, free: 3.98 MB / 0.9512 GB Notification: Performance of SimCode: time 3.91e-07/1.104, allocations: 0 / 1.241 GB, free: 3.98 MB / 0.9512 GB Notification: Performance of Templates: time 0.007973/1.112, allocations: 4.931 MB / 1.245 GB, free: 15.1 MB / 0.9669 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches