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.006693/0.006693, allocations: 99.38 kB / 15.73 MB, free: 6.008 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.001366/0.001366, allocations: 197.2 kB / 16.68 MB, free: 5.934 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.457/1.457, allocations: 222.9 MB / 240.4 MB, free: 4.297 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.817/2.817, allocations: 469.8 MB / 0.7425 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 71.88 kB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3878/0.3894, allocations: 159.1 MB / 1.221 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.9917/1.381, allocations: 167.9 MB / 1.385 GB, free: 2.418 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.003419/1.384, allocations: 1.573 MB / 1.386 GB, free: 1.137 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005257/1.385, allocations: 15.81 kB / 1.386 GB, free: 1.129 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006273/1.386, allocations: 156.3 kB / 1.386 GB, free: 0.9922 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002105/1.388, allocations: 0.7382 MB / 1.387 GB, free: 448 kB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001812/1.39, allocations: 0.6006 MB / 1.388 GB, free: 0 / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001135/1.391, allocations: 0.7169 MB / 1.388 GB, free: 15.59 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000458/1.391, allocations: 201.2 kB / 1.388 GB, free: 15.46 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008713/1.392, allocations: 363 kB / 1.389 GB, free: 15.25 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000433/1.392, allocations: 221.3 kB / 1.389 GB, free: 15.12 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 5.922e-05/1.393, allocations: 27.25 kB / 1.389 GB, free: 15.12 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00191/1.394, allocations: 0.8729 MB / 1.39 GB, free: 14.62 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001748/1.395, allocations: 114.2 kB / 1.39 GB, free: 14.54 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0002616/1.395, allocations: 172.8 kB / 1.39 GB, free: 14.44 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001647/1.397, allocations: 0.7316 MB / 1.391 GB, free: 14 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/1.397, allocations: 0 / 1.391 GB, free: 14 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.863e-06/1.397, allocations: 0 / 1.391 GB, free: 14 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.565e-05/1.397, allocations: 5.328 kB / 1.391 GB, free: 14 MB / 1.092 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.001347/1.398, allocations: 0.6751 MB / 1.392 GB, free: 13.4 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/1.398, allocations: 8.781 kB / 1.392 GB, free: 13.4 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001299/1.399, allocations: 157.3 kB / 1.392 GB, free: 13.32 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006486/1.4, allocations: 332.5 kB / 1.392 GB, free: 13.02 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/1.4, allocations: 17.5 kB / 1.392 GB, free: 13.01 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.103e-05/1.4, allocations: 28.38 kB / 1.392 GB, free: 13 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000569/1.401, allocations: 285.1 kB / 1.392 GB, free: 12.8 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/1.401, allocations: 3.938 kB / 1.392 GB, free: 12.8 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.67e-05/1.401, allocations: 14.81 kB / 1.392 GB, free: 12.79 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/1.401, allocations: 5.594 kB / 1.392 GB, free: 12.79 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004927/1.401, allocations: 206.4 kB / 1.393 GB, free: 12.7 MB / 1.092 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.0017/1.403, allocations: 1.219 MB / 1.394 GB, free: 11.57 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003312/1.403, allocations: 145.6 kB / 1.394 GB, free: 11.48 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00019/1.403, allocations: 90.48 kB / 1.394 GB, free: 11.44 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006079/1.404, allocations: 307.7 kB / 1.394 GB, free: 11.12 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/1.404, allocations: 35.78 kB / 1.394 GB, free: 11.08 MB / 1.092 GB Notification: Performance of pre-optimization done (n=17): time 2.044e-06/1.404, allocations: 4 kB / 1.394 GB, free: 11.08 MB / 1.092 GB Notification: Performance of matching and sorting (n=17): time 0.0008704/1.405, allocations: 285 kB / 1.395 GB, free: 10.94 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/1.405, allocations: 57.62 kB / 1.395 GB, free: 10.87 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003731/1.405, allocations: 327.9 kB / 1.395 GB, free: 10.66 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/1.405, allocations: 26.83 kB / 1.395 GB, free: 10.62 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/1.405, allocations: 192.7 kB / 1.395 GB, free: 10.45 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 5.535e-05/1.405, allocations: 63.06 kB / 1.395 GB, free: 10.39 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.024e-05/1.406, allocations: 43.36 kB / 1.395 GB, free: 10.36 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001222/1.406, allocations: 342.5 kB / 1.396 GB, free: 10.03 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/1.406, allocations: 69.36 kB / 1.396 GB, free: 9.996 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002384/1.406, allocations: 127.4 kB / 1.396 GB, free: 9.906 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000375/1.406, allocations: 192.5 kB / 1.396 GB, free: 9.781 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/1.406, allocations: 1.219 kB / 1.396 GB, free: 9.781 MB / 1.092 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005371/1.407, allocations: 257 kB / 1.396 GB, free: 9.641 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/1.407, allocations: 7.781 kB / 1.396 GB, free: 9.641 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/1.407, allocations: 2.438 kB / 1.396 GB, free: 9.641 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/1.407, allocations: 2.062 kB / 1.396 GB, free: 9.641 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/1.407, allocations: 51.78 kB / 1.396 GB, free: 9.625 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/1.407, allocations: 3 kB / 1.396 GB, free: 9.625 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002893/1.408, allocations: 37.86 kB / 1.396 GB, free: 9.598 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.143e-05/1.408, allocations: 7.594 kB / 1.396 GB, free: 9.598 MB / 1.092 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.0001868/1.408, allocations: 152 kB / 1.396 GB, free: 9.457 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.161e-05/1.408, allocations: 38.11 kB / 1.396 GB, free: 9.434 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005375/1.408, allocations: 235.1 kB / 1.397 GB, free: 9.293 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/1.408, allocations: 1.375 kB / 1.397 GB, free: 9.293 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/1.408, allocations: 1.094 kB / 1.397 GB, free: 9.293 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/1.408, allocations: 4 kB / 1.397 GB, free: 9.289 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001314/1.41, allocations: 0.7025 MB / 1.397 GB, free: 8.699 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/1.41, allocations: 4.906 kB / 1.397 GB, free: 8.695 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/1.41, allocations: 39.55 kB / 1.397 GB, free: 8.684 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/1.41, allocations: 2.656 kB / 1.397 GB, free: 8.684 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/1.41, allocations: 8.078 kB / 1.397 GB, free: 8.68 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/1.41, allocations: 5.344 kB / 1.397 GB, free: 8.676 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/1.41, allocations: 7.125 kB / 1.397 GB, free: 8.672 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007688/1.411, allocations: 449.2 kB / 1.398 GB, free: 8.34 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001844/1.411, allocations: 120.3 kB / 1.398 GB, free: 8.219 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.349e-05/1.411, allocations: 11.7 kB / 1.398 GB, free: 8.211 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/1.411, allocations: 20.45 kB / 1.398 GB, free: 8.195 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.004e-05/1.411, allocations: 15.39 kB / 1.398 GB, free: 8.188 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/1.411, allocations: 6.531 kB / 1.398 GB, free: 8.188 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.00029/1.412, allocations: 228.5 kB / 1.398 GB, free: 8.039 MB / 1.092 GB Notification: Performance of sort global known variables: time 7e-08/1.412, allocations: 1.125 kB / 1.398 GB, free: 8.039 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0005033/1.412, allocations: 95.97 kB / 1.398 GB, free: 8.012 MB / 1.092 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.0004699/1.413, allocations: 161.7 kB / 1.399 GB, free: 7.898 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0004946/1.413, allocations: 173.5 kB / 1.399 GB, free: 7.824 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.413, allocations: 0 / 1.399 GB, free: 7.824 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001951/1.413, allocations: 93.09 kB / 1.399 GB, free: 7.781 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009102/1.414, allocations: 174.5 kB / 1.399 GB, free: 7.699 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/1.415, allocations: 0.6342 MB / 1.4 GB, free: 7.238 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004552/1.416, allocations: 0.7776 MB / 1.4 GB, free: 6.5 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.000291/1.416, allocations: 74.5 kB / 1.4 GB, free: 6.457 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.111e-05/1.416, allocations: 25.66 kB / 1.4 GB, free: 6.449 MB / 1.092 GB Notification: Performance of SimCode: time 1.162e-06/1.416, allocations: 0 / 1.4 GB, free: 6.449 MB / 1.092 GB Notification: Performance of Templates: time 0.01279/1.429, allocations: 5.889 MB / 1.406 GB, free: 3.539 MB / 1.092 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=480 -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