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.007692/0.007692, allocations: 101.7 kB / 15.73 MB, free: 5.992 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.00129/0.00129, allocations: 195.9 kB / 16.67 MB, free: 5.922 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.448/1.448, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.716/2.716, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 67.89 kB / 1.054 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.009/1.011, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1851/1.196, allocations: 167.4 MB / 1.371 GB, free: 5.551 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.003013/1.199, allocations: 1.568 MB / 1.373 GB, free: 3.98 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003681/1.199, allocations: 15.88 kB / 1.373 GB, free: 3.965 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0005364/1.2, allocations: 146.9 kB / 1.373 GB, free: 3.82 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001758/1.202, allocations: 0.7078 MB / 1.374 GB, free: 3.109 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001518/1.203, allocations: 0.6031 MB / 1.374 GB, free: 2.508 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0008079/1.204, allocations: 0.7176 MB / 1.375 GB, free: 1.789 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003657/1.205, allocations: 244.8 kB / 1.375 GB, free: 1.547 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005904/1.205, allocations: 342.7 kB / 1.375 GB, free: 1.211 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002688/1.205, allocations: 231 kB / 1.376 GB, free: 0.9844 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 3.844e-05/1.205, allocations: 24 kB / 1.376 GB, free: 0.9609 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00124/1.207, allocations: 0.865 MB / 1.377 GB, free: 96 kB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001273/1.207, allocations: 107.7 kB / 1.377 GB, free: 15.99 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001525/1.207, allocations: 171.2 kB / 1.377 GB, free: 15.82 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0009123/1.208, allocations: 0.7304 MB / 1.378 GB, free: 15.09 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/1.208, allocations: 0 / 1.378 GB, free: 15.09 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.423e-06/1.208, allocations: 0 / 1.378 GB, free: 15.09 MB / 1.107 GB Notification: Performance of Transformations before backend: time 7.514e-06/1.208, allocations: 0 / 1.378 GB, free: 15.09 MB / 1.107 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.0009319/1.209, allocations: 0.6584 MB / 1.378 GB, free: 14.38 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/1.209, allocations: 12.03 kB / 1.378 GB, free: 14.37 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/1.21, allocations: 163.3 kB / 1.378 GB, free: 14.21 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005422/1.211, allocations: 326.6 kB / 1.379 GB, free: 13.85 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/1.211, allocations: 20.56 kB / 1.379 GB, free: 13.83 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.656e-05/1.211, allocations: 23.94 kB / 1.379 GB, free: 13.81 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004903/1.211, allocations: 285.8 kB / 1.379 GB, free: 13.51 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/1.211, allocations: 0 / 1.379 GB, free: 13.51 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.808e-05/1.211, allocations: 12 kB / 1.379 GB, free: 13.5 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/1.211, allocations: 8 kB / 1.379 GB, free: 13.49 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004258/1.212, allocations: 200.9 kB / 1.379 GB, free: 13.29 MB / 1.107 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.001468/1.213, allocations: 1.223 MB / 1.38 GB, free: 11.96 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002727/1.213, allocations: 150.4 kB / 1.38 GB, free: 11.81 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001787/1.214, allocations: 97.11 kB / 1.381 GB, free: 11.71 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005425/1.214, allocations: 299.2 kB / 1.381 GB, free: 11.36 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/1.214, allocations: 46.39 kB / 1.381 GB, free: 11.31 MB / 1.107 GB Notification: Performance of pre-optimization done (n=17): time 1.583e-06/1.214, allocations: 0 / 1.381 GB, free: 11.31 MB / 1.107 GB Notification: Performance of matching and sorting (n=17): time 0.0007621/1.215, allocations: 295 kB / 1.381 GB, free: 11.02 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/1.215, allocations: 55.41 kB / 1.381 GB, free: 10.95 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002963/1.215, allocations: 320.5 kB / 1.382 GB, free: 10.63 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/1.215, allocations: 33.7 kB / 1.382 GB, free: 10.59 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/1.215, allocations: 180.2 kB / 1.382 GB, free: 10.41 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 5.94e-05/1.216, allocations: 63.09 kB / 1.382 GB, free: 10.35 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.816e-05/1.216, allocations: 49.7 kB / 1.382 GB, free: 10.3 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001229/1.216, allocations: 342.8 kB / 1.382 GB, free: 9.953 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/1.216, allocations: 63.95 kB / 1.382 GB, free: 9.891 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002102/1.216, allocations: 131.5 kB / 1.382 GB, free: 9.746 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003564/1.217, allocations: 199.5 kB / 1.383 GB, free: 9.535 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/1.217, allocations: 3.938 kB / 1.383 GB, free: 9.531 MB / 1.107 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004828/1.217, allocations: 257.2 kB / 1.383 GB, free: 9.273 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/1.217, allocations: 4 kB / 1.383 GB, free: 9.27 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/1.217, allocations: 3.984 kB / 1.383 GB, free: 9.266 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/1.217, allocations: 4 kB / 1.383 GB, free: 9.262 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/1.217, allocations: 43.97 kB / 1.383 GB, free: 9.219 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/1.217, allocations: 3.938 kB / 1.383 GB, free: 9.215 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/1.218, allocations: 39.67 kB / 1.383 GB, free: 9.176 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.863e-05/1.218, allocations: 15.94 kB / 1.383 GB, free: 9.16 MB / 1.107 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.0001379/1.218, allocations: 153.9 kB / 1.383 GB, free: 9 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.139e-05/1.218, allocations: 27.62 kB / 1.383 GB, free: 8.973 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004767/1.218, allocations: 230.1 kB / 1.383 GB, free: 8.742 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/1.218, allocations: 0 / 1.383 GB, free: 8.742 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/1.218, allocations: 7.984 kB / 1.383 GB, free: 8.734 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/1.218, allocations: 0 / 1.383 GB, free: 8.734 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/1.219, allocations: 0.7029 MB / 1.384 GB, free: 7.953 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/1.219, allocations: 8.219 kB / 1.384 GB, free: 7.945 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001725/1.22, allocations: 31.98 kB / 1.384 GB, free: 7.914 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/1.22, allocations: 0 / 1.384 GB, free: 7.914 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.205e-05/1.22, allocations: 11.98 kB / 1.384 GB, free: 7.902 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.156e-05/1.22, allocations: 11.88 kB / 1.384 GB, free: 7.891 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/1.22, allocations: 0 / 1.384 GB, free: 7.891 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006574/1.22, allocations: 452.9 kB / 1.385 GB, free: 7.41 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/1.22, allocations: 124.7 kB / 1.385 GB, free: 7.27 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.498e-05/1.22, allocations: 16.05 kB / 1.385 GB, free: 7.254 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/1.221, allocations: 11.94 kB / 1.385 GB, free: 7.242 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.542e-05/1.221, allocations: 11.98 kB / 1.385 GB, free: 7.23 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/1.221, allocations: 8 kB / 1.385 GB, free: 7.223 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0002204/1.221, allocations: 231 kB / 1.385 GB, free: 6.996 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.3e-07/1.221, allocations: 0 / 1.385 GB, free: 6.996 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0003905/1.221, allocations: 87.89 kB / 1.385 GB, free: 6.91 MB / 1.107 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.0004274/1.222, allocations: 160.2 kB / 1.385 GB, free: 6.75 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0004416/1.222, allocations: 183.7 kB / 1.385 GB, free: 6.57 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/1.222, allocations: 4.188 kB / 1.385 GB, free: 6.566 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0001962/1.222, allocations: 95.81 kB / 1.385 GB, free: 6.473 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009128/1.223, allocations: 175.6 kB / 1.386 GB, free: 6.309 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/1.224, allocations: 0.6258 MB / 1.386 GB, free: 5.633 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004195/1.225, allocations: 0.7795 MB / 1.387 GB, free: 4.828 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0001992/1.225, allocations: 70.88 kB / 1.387 GB, free: 4.762 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.061e-05/1.225, allocations: 27.42 kB / 1.387 GB, free: 4.734 MB / 1.107 GB Notification: Performance of SimCode: time 2.4e-07/1.225, allocations: 0 / 1.387 GB, free: 4.734 MB / 1.107 GB Notification: Performance of Templates: time 0.01143/1.237, allocations: 5.938 MB / 1.393 GB, free: 14.9 MB / 1.123 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches