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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001023/0.001023, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001256/0.001256, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.53/2.53, allocations: 390.9 MB / 0.666 GB, free: 2.535 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005423/0.0005424, allocations: 8 kB / 0.8154 GB, free: 13.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8537/0.8542, allocations: 142.4 MB / 0.9544 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1733/1.028, allocations: 152.1 MB / 1.103 GB, free: 7.066 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002899/1.031, allocations: 1.485 MB / 1.104 GB, free: 5.578 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003311/1.031, allocations: 7.938 kB / 1.104 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005292/1.031, allocations: 111.2 kB / 1.105 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001624/1.033, allocations: 0.5053 MB / 1.105 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001355/1.034, allocations: 457.8 kB / 1.105 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0009251/1.035, allocations: 0.8424 MB / 1.106 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003257/1.036, allocations: 185.1 kB / 1.106 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006751/1.036, allocations: 318.7 kB / 1.107 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002773/1.037, allocations: 219.1 kB / 1.107 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.35e-05/1.037, allocations: 12 kB / 1.107 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009797/1.038, allocations: 462.9 kB / 1.107 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001147/1.038, allocations: 95.69 kB / 1.108 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.733e-05/1.038, allocations: 89.52 kB / 1.108 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005994/1.039, allocations: 451 kB / 1.108 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/1.039, allocations: 0 / 1.108 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.12e-07/1.039, allocations: 0 / 1.108 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.991e-06/1.039, allocations: 0 / 1.108 GB, free: 1.855 MB / 0.8575 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.0009481/1.04, allocations: 0.617 MB / 1.109 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/1.04, allocations: 8.031 kB / 1.109 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001126/1.041, allocations: 159.4 kB / 1.109 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004064/1.041, allocations: 302.9 kB / 1.109 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/1.041, allocations: 16.56 kB / 1.109 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.966e-05/1.041, allocations: 23.94 kB / 1.109 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004934/1.042, allocations: 293.8 kB / 1.109 GB, free: 352 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/1.042, allocations: 0 / 1.109 GB, free: 352 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.383e-05/1.042, allocations: 8 kB / 1.109 GB, free: 344 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/1.042, allocations: 7.953 kB / 1.109 GB, free: 336 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004328/1.042, allocations: 212.9 kB / 1.11 GB, free: 124 kB / 0.8575 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.001405/1.044, allocations: 1.234 MB / 1.111 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002796/1.044, allocations: 150.5 kB / 1.111 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001913/1.044, allocations: 100.8 kB / 1.111 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000601/1.045, allocations: 315.2 kB / 1.111 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.514e-05/1.045, allocations: 34.56 kB / 1.111 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=17): time 1.472e-06/1.045, allocations: 0 / 1.111 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of matching and sorting (n=17): time 0.0008122/1.046, allocations: 315.5 kB / 1.112 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/1.046, allocations: 59.41 kB / 1.112 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003699/1.046, allocations: 320.5 kB / 1.112 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/1.046, allocations: 25.7 kB / 1.112 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/1.046, allocations: 184.1 kB / 1.112 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.04e-05/1.046, allocations: 59.19 kB / 1.112 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.276e-05/1.046, allocations: 8 kB / 1.112 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001344/1.046, allocations: 342.8 kB / 1.113 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/1.047, allocations: 75.95 kB / 1.113 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/1.047, allocations: 129.8 kB / 1.113 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/1.047, allocations: 99.84 kB / 1.113 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.047, allocations: 0 / 1.113 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005254/1.048, allocations: 268.1 kB / 1.113 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/1.048, allocations: 8 kB / 1.113 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/1.048, allocations: 0 / 1.113 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/1.048, allocations: 4.141 kB / 1.113 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002075/1.048, allocations: 43.98 kB / 1.113 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/1.048, allocations: 11.92 kB / 1.113 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/1.048, allocations: 39.73 kB / 1.113 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.955e-05/1.048, allocations: 11.98 kB / 1.113 GB, free: 12.09 MB / 0.8731 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002308/1.048, allocations: 149.8 kB / 1.113 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.411e-05/1.048, allocations: 31.62 kB / 1.113 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000551/1.049, allocations: 246.3 kB / 1.114 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/1.049, allocations: 3.984 kB / 1.114 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/1.049, allocations: 0 / 1.114 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/1.049, allocations: 0 / 1.114 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/1.05, allocations: 0.7184 MB / 1.114 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/1.05, allocations: 4.219 kB / 1.114 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/1.05, allocations: 39.98 kB / 1.114 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/1.05, allocations: 4 kB / 1.114 GB, free: 10.81 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/1.05, allocations: 11.94 kB / 1.114 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/1.05, allocations: 3.938 kB / 1.114 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.05, allocations: 4 kB / 1.114 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006768/1.051, allocations: 464.9 kB / 1.115 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/1.051, allocations: 120.8 kB / 1.115 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.61e-05/1.051, allocations: 7.984 kB / 1.115 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/1.051, allocations: 19.95 kB / 1.115 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.954e-05/1.051, allocations: 20.03 kB / 1.115 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/1.051, allocations: 12 kB / 1.115 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002221/1.052, allocations: 227 kB / 1.115 GB, free: 9.883 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.052, allocations: 0 / 1.115 GB, free: 9.883 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003887/1.052, allocations: 83.94 kB / 1.115 GB, free: 9.801 MB / 0.8731 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003671/1.052, allocations: 169 kB / 1.116 GB, free: 9.633 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004272/1.053, allocations: 189.6 kB / 1.116 GB, free: 9.449 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.053, allocations: 4.281 kB / 1.116 GB, free: 9.445 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001917/1.053, allocations: 103.8 kB / 1.116 GB, free: 9.344 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008725/1.054, allocations: 169.2 kB / 1.116 GB, free: 9.18 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/1.055, allocations: 0.7313 MB / 1.117 GB, free: 8.398 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/1.056, allocations: 0.7836 MB / 1.117 GB, free: 7.586 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002136/1.056, allocations: 70.92 kB / 1.118 GB, free: 7.52 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.153e-05/1.056, allocations: 23.44 kB / 1.118 GB, free: 7.496 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/1.056, allocations: 0 / 1.118 GB, free: 7.496 MB / 0.8731 GB Notification: Performance of Templates: time 0.0103/1.066, allocations: 5.338 MB / 1.123 GB, free: 2.258 MB / 0.8731 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