Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001709/0.001709, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002028/0.002028, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.467/1.467, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.893/2.893, allocations: 469.8 MB / 0.742 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 66.33 kB / 0.908 GB, free: 34.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.321, allocations: 159.2 MB / 1.063 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1881/0.5091, allocations: 165.1 MB / 1.225 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00291/0.512, allocations: 1.563 MB / 1.226 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002996/0.5123, allocations: 15.88 kB / 1.226 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005073/0.5129, allocations: 119.3 kB / 1.226 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001803/0.5147, allocations: 0.6614 MB / 1.227 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001501/0.5162, allocations: 0.5604 MB / 1.228 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008302/0.5171, allocations: 0.7254 MB / 1.228 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003525/0.5174, allocations: 221.1 kB / 1.229 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005931/0.518, allocations: 342.7 kB / 1.229 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002901/0.5183, allocations: 247 kB / 1.229 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.125e-05/0.5184, allocations: 24 kB / 1.229 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001356/0.5197, allocations: 0.8999 MB / 1.23 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001479/0.5199, allocations: 107.7 kB / 1.23 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001795/0.5201, allocations: 167.2 kB / 1.23 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001041/0.5211, allocations: 0.7868 MB / 1.231 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.5212, allocations: 0 / 1.231 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5212, allocations: 0 / 1.231 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.5212, allocations: 0 / 1.231 GB, free: 2.414 MB / 0.9825 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.0009995/0.5222, allocations: 0.6676 MB / 1.232 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.5222, allocations: 8.031 kB / 1.232 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/0.5234, allocations: 155.4 kB / 1.232 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000446/0.5238, allocations: 314.6 kB / 1.232 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.5239, allocations: 16.56 kB / 1.232 GB, free: 1.176 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.558e-05/0.5239, allocations: 27.94 kB / 1.232 GB, free: 1.148 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00053/0.5245, allocations: 289.8 kB / 1.232 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.5245, allocations: 3.938 kB / 1.232 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.293e-05/0.5245, allocations: 8 kB / 1.232 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.5245, allocations: 8 kB / 1.232 GB, free: 0.8242 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004294/0.525, allocations: 204.9 kB / 1.233 GB, free: 0.625 MB / 0.9825 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.001483/0.5265, allocations: 1.223 MB / 1.234 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003082/0.5268, allocations: 146.4 kB / 1.234 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001922/0.527, allocations: 100.8 kB / 1.234 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006594/0.5277, allocations: 295.2 kB / 1.234 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.5277, allocations: 42.55 kB / 1.234 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=17): time 1.252e-06/0.5277, allocations: 0 / 1.234 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17): time 0.0008122/0.5285, allocations: 296.5 kB / 1.235 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.5286, allocations: 51.41 kB / 1.235 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003484/0.5289, allocations: 324.5 kB / 1.235 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.529, allocations: 29.7 kB / 1.235 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.5291, allocations: 184.1 kB / 1.235 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.516e-05/0.5292, allocations: 67.12 kB / 1.235 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.428e-05/0.5293, allocations: 49.61 kB / 1.235 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.5295, allocations: 346.8 kB / 1.236 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/0.5296, allocations: 67.95 kB / 1.236 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002316/0.5299, allocations: 127.9 kB / 1.236 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003789/0.5303, allocations: 199 kB / 1.236 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.5303, allocations: 7.938 kB / 1.236 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004855/0.5308, allocations: 249.1 kB / 1.236 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.5308, allocations: 8 kB / 1.236 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.5308, allocations: 0 / 1.236 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.5308, allocations: 4 kB / 1.236 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002064/0.531, allocations: 43.91 kB / 1.236 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.5311, allocations: 4 kB / 1.236 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002246/0.5313, allocations: 39.77 kB / 1.236 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.342e-05/0.5313, allocations: 8 kB / 1.236 GB, free: 12.5 MB / 0.9981 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.0001636/0.5315, allocations: 157.7 kB / 1.237 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.551e-05/0.5316, allocations: 27.72 kB / 1.237 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005218/0.5321, allocations: 228.6 kB / 1.237 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.5321, allocations: 4 kB / 1.237 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.5321, allocations: 4 kB / 1.237 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.5321, allocations: 0 / 1.237 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.5332, allocations: 0.7107 MB / 1.237 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/0.5332, allocations: 0 / 1.237 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001722/0.5334, allocations: 43.84 kB / 1.238 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.5334, allocations: 4 kB / 1.238 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/0.5334, allocations: 8 kB / 1.238 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.181e-06/0.5335, allocations: 3.938 kB / 1.238 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.5335, allocations: 7.938 kB / 1.238 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006845/0.5341, allocations: 447.1 kB / 1.238 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.5343, allocations: 132.6 kB / 1.238 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.459e-05/0.5343, allocations: 4 kB / 1.238 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/0.5345, allocations: 19.92 kB / 1.238 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.476e-05/0.5346, allocations: 15.92 kB / 1.238 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.5346, allocations: 8.062 kB / 1.238 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002342/0.5349, allocations: 231 kB / 1.238 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5349, allocations: 0 / 1.238 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003881/0.5353, allocations: 91.84 kB / 1.238 GB, free: 10.23 MB / 0.9981 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.0004126/0.5357, allocations: 174.5 kB / 1.239 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004691/0.5362, allocations: 189.6 kB / 1.239 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.5362, allocations: 0 / 1.239 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001956/0.5364, allocations: 91.86 kB / 1.239 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008634/0.5373, allocations: 166.9 kB / 1.239 GB, free: 9.625 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.5383, allocations: 0.7175 MB / 1.24 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004134/0.5388, allocations: 0.7795 MB / 1.241 GB, free: 8.055 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002159/0.539, allocations: 66.92 kB / 1.241 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.516e-05/0.5391, allocations: 27.44 kB / 1.241 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of SimCode: time 2.3e-07/0.5391, allocations: 0 / 1.241 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of Templates: time 0.0115/0.5506, allocations: 5.721 MB / 1.246 GB, free: 2.344 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.makefile (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_Velocity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches