Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.006465/0.006465, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001287/0.001287, allocations: 198.7 kB / 16.68 MB, free: 5.926 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.375/1.375, allocations: 222.9 MB / 240.3 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.24/2.24, allocations: 390.2 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 67.91 kB / 0.9509 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.044/1.045, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.2168/1.262, allocations: 167.4 MB / 1.251 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003/1.265, allocations: 1.563 MB / 1.253 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000416/1.265, allocations: 15.88 kB / 1.253 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005931/1.266, allocations: 146.9 kB / 1.253 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001875/1.268, allocations: 0.7078 MB / 1.254 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001591/1.27, allocations: 0.6027 MB / 1.254 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007931/1.27, allocations: 0.7176 MB / 1.255 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003721/1.271, allocations: 237.1 kB / 1.255 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006137/1.271, allocations: 346.7 kB / 1.256 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002839/1.272, allocations: 223 kB / 1.256 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.54e-05/1.272, allocations: 24 kB / 1.256 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001421/1.273, allocations: 0.865 MB / 1.257 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001178/1.273, allocations: 111.7 kB / 1.257 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001732/1.273, allocations: 179.1 kB / 1.257 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001015/1.275, allocations: 0.7265 MB / 1.258 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/1.275, allocations: 0 / 1.258 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.733e-06/1.275, allocations: 4 kB / 1.258 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.835e-06/1.275, allocations: 0 / 1.258 GB, free: 15.85 MB / 0.9981 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.0009247/1.275, allocations: 0.6583 MB / 1.258 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/1.276, allocations: 12.03 kB / 1.258 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/1.277, allocations: 163.3 kB / 1.259 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000496/1.277, allocations: 318.6 kB / 1.259 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.08e-05/1.277, allocations: 28.5 kB / 1.259 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.817e-05/1.277, allocations: 27.94 kB / 1.259 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004752/1.278, allocations: 281.8 kB / 1.259 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/1.278, allocations: 0 / 1.259 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/1.278, allocations: 12 kB / 1.259 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/1.278, allocations: 4 kB / 1.259 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004204/1.278, allocations: 204.9 kB / 1.259 GB, free: 14.05 MB / 0.9981 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.001387/1.28, allocations: 1.219 MB / 1.261 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002891/1.28, allocations: 154.4 kB / 1.261 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002043/1.28, allocations: 96.8 kB / 1.261 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006084/1.281, allocations: 303.2 kB / 1.261 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/1.281, allocations: 42.48 kB / 1.261 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=17): time 1.733e-06/1.281, allocations: 0 / 1.261 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17): time 0.0008057/1.282, allocations: 295.9 kB / 1.261 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/1.282, allocations: 55.34 kB / 1.261 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003371/1.282, allocations: 320.5 kB / 1.262 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/1.282, allocations: 29.7 kB / 1.262 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/1.282, allocations: 188.1 kB / 1.262 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.325e-05/1.282, allocations: 59.19 kB / 1.262 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.307e-05/1.282, allocations: 49.61 kB / 1.262 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001376/1.282, allocations: 342.8 kB / 1.262 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/1.283, allocations: 67.95 kB / 1.262 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/1.283, allocations: 126.7 kB / 1.263 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003646/1.283, allocations: 197 kB / 1.263 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/1.283, allocations: 3.938 kB / 1.263 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004631/1.284, allocations: 259.5 kB / 1.263 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/1.284, allocations: 4 kB / 1.263 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/1.284, allocations: 4 kB / 1.263 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/1.284, allocations: 0 / 1.263 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/1.284, allocations: 47.97 kB / 1.263 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/1.284, allocations: 4 kB / 1.263 GB, free: 9.969 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001982/1.284, allocations: 31.7 kB / 1.263 GB, free: 9.938 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.132e-05/1.284, allocations: 8 kB / 1.263 GB, free: 9.93 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.000144/1.284, allocations: 157.8 kB / 1.263 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.213e-05/1.284, allocations: 27.62 kB / 1.263 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00048/1.285, allocations: 228.6 kB / 1.263 GB, free: 9.512 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/1.285, allocations: 4 kB / 1.264 GB, free: 9.508 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.285, allocations: 3.984 kB / 1.264 GB, free: 9.504 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/1.285, allocations: 0 / 1.264 GB, free: 9.504 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/1.286, allocations: 0.7106 MB / 1.264 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/1.286, allocations: 4.219 kB / 1.264 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00017/1.286, allocations: 39.98 kB / 1.264 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/1.286, allocations: 0 / 1.264 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/1.286, allocations: 4 kB / 1.264 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.654e-06/1.286, allocations: 15.86 kB / 1.264 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/1.286, allocations: 4 kB / 1.264 GB, free: 8.648 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007418/1.287, allocations: 459.2 kB / 1.265 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/1.287, allocations: 120.7 kB / 1.265 GB, free: 8.027 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.848e-05/1.287, allocations: 4 kB / 1.265 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/1.287, allocations: 23.98 kB / 1.265 GB, free: 8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.512e-05/1.287, allocations: 11.98 kB / 1.265 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/1.287, allocations: 8 kB / 1.265 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002802/1.288, allocations: 227 kB / 1.265 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.1e-07/1.288, allocations: 0 / 1.265 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003978/1.288, allocations: 83.98 kB / 1.265 GB, free: 7.68 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.0004024/1.289, allocations: 177.5 kB / 1.265 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004463/1.289, allocations: 185.8 kB / 1.266 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/1.289, allocations: 96 / 1.266 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001904/1.289, allocations: 103.9 kB / 1.266 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008518/1.29, allocations: 161.5 kB / 1.266 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/1.291, allocations: 0.6266 MB / 1.266 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/1.292, allocations: 0.7832 MB / 1.267 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001881/1.292, allocations: 70.91 kB / 1.267 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.156e-05/1.292, allocations: 27.38 kB / 1.267 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of SimCode: time 2.91e-07/1.292, allocations: 0 / 1.267 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of Templates: time 0.01117/1.303, allocations: 5.939 MB / 1.273 GB, free: 15.64 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_Velocity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches