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.0009806/0.0009806, allocations: 90.75 kB / 15.36 MB, free: 0.7383 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.0081/0.0081, allocations: 172 kB / 16.26 MB, free: 6.613 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.465/1.465, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.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.503/2.503, allocations: 390.9 MB / 0.6663 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003358/0.0003358, allocations: 12 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8386/0.8389, allocations: 142.4 MB / 0.955 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1885/1.028, allocations: 163 MB / 1.114 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.002704/1.03, allocations: 1.547 MB / 1.116 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003431/1.031, allocations: 11.94 kB / 1.116 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0004461/1.031, allocations: 115.2 kB / 1.116 GB, free: 10.08 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001793/1.033, allocations: 0.6652 MB / 1.117 GB, free: 9.414 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001564/1.034, allocations: 0.5535 MB / 1.117 GB, free: 8.863 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001064/1.036, allocations: 0.9867 MB / 1.118 GB, free: 7.871 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003257/1.036, allocations: 201.4 kB / 1.118 GB, free: 7.672 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005548/1.036, allocations: 318.6 kB / 1.119 GB, free: 7.359 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000263/1.037, allocations: 227.1 kB / 1.119 GB, free: 7.137 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.295e-05/1.037, allocations: 20 kB / 1.119 GB, free: 7.117 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001579/1.038, allocations: 1.009 MB / 1.12 GB, free: 6.105 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001248/1.038, allocations: 107.6 kB / 1.12 GB, free: 6 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001771/1.039, allocations: 176.9 kB / 1.12 GB, free: 5.82 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001115/1.04, allocations: 0.7711 MB / 1.121 GB, free: 5.047 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/1.04, allocations: 0 / 1.121 GB, free: 5.047 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.605e-06/1.04, allocations: 3.938 kB / 1.121 GB, free: 5.043 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.983e-06/1.04, allocations: 0 / 1.121 GB, free: 5.043 MB / 0.8731 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.001038/1.041, allocations: 0.6154 MB / 1.121 GB, free: 4.379 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/1.041, allocations: 8.031 kB / 1.121 GB, free: 4.371 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/1.042, allocations: 159.4 kB / 1.122 GB, free: 4.215 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004334/1.043, allocations: 310.7 kB / 1.122 GB, free: 3.871 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/1.043, allocations: 16.56 kB / 1.122 GB, free: 3.855 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.412e-05/1.043, allocations: 31.94 kB / 1.122 GB, free: 3.824 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004957/1.043, allocations: 281.9 kB / 1.122 GB, free: 3.527 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/1.043, allocations: 0 / 1.122 GB, free: 3.527 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.716e-05/1.043, allocations: 12 kB / 1.122 GB, free: 3.516 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/1.043, allocations: 11.98 kB / 1.122 GB, free: 3.504 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004349/1.044, allocations: 220.6 kB / 1.122 GB, free: 3.289 MB / 0.8731 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.001473/1.045, allocations: 1.227 MB / 1.124 GB, free: 1.957 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003007/1.045, allocations: 162.3 kB / 1.124 GB, free: 1.789 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001994/1.046, allocations: 106.2 kB / 1.124 GB, free: 1.684 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006289/1.046, allocations: 319.2 kB / 1.124 GB, free: 1.316 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/1.046, allocations: 30.56 kB / 1.124 GB, free: 1.277 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=17): time 2.164e-06/1.046, allocations: 0 / 1.124 GB, free: 1.277 MB / 0.8731 GB Notification: Performance of matching and sorting (n=17): time 0.0008378/1.047, allocations: 307.7 kB / 1.124 GB, free: 0.9727 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/1.047, allocations: 51.41 kB / 1.124 GB, free: 0.9102 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003375/1.048, allocations: 324.5 kB / 1.125 GB, free: 0.5859 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.233e-05/1.048, allocations: 29.7 kB / 1.125 GB, free: 0.5508 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/1.048, allocations: 188.1 kB / 1.125 GB, free: 372 kB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.572e-05/1.048, allocations: 63.09 kB / 1.125 GB, free: 308 kB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-05/1.048, allocations: 25.72 kB / 1.125 GB, free: 276 kB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001573/1.048, allocations: 342.8 kB / 1.125 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001903/1.048, allocations: 75.83 kB / 1.126 GB, free: 15.85 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000227/1.048, allocations: 137.6 kB / 1.126 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000385/1.049, allocations: 209 kB / 1.126 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/1.049, allocations: 3.938 kB / 1.126 GB, free: 15.47 MB / 0.8887 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004993/1.049, allocations: 266.8 kB / 1.126 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/1.049, allocations: 4 kB / 1.126 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/1.049, allocations: 4 kB / 1.126 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/1.049, allocations: 0 / 1.126 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002353/1.05, allocations: 51.91 kB / 1.126 GB, free: 15.15 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/1.05, allocations: 0 / 1.126 GB, free: 15.15 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002408/1.05, allocations: 39.83 kB / 1.126 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.252e-05/1.05, allocations: 12 kB / 1.126 GB, free: 15.1 MB / 0.8887 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.0001608/1.05, allocations: 153.7 kB / 1.126 GB, free: 14.94 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.191e-05/1.05, allocations: 27.62 kB / 1.126 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005164/1.051, allocations: 244.6 kB / 1.127 GB, free: 14.66 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/1.051, allocations: 7.938 kB / 1.127 GB, free: 14.66 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/1.051, allocations: 7.938 kB / 1.127 GB, free: 14.65 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/1.051, allocations: 0 / 1.127 GB, free: 14.65 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/1.052, allocations: 0.7107 MB / 1.127 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/1.052, allocations: 4.219 kB / 1.127 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/1.052, allocations: 43.91 kB / 1.127 GB, free: 13.81 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/1.052, allocations: 4 kB / 1.127 GB, free: 13.81 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.569e-05/1.052, allocations: 8 kB / 1.127 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/1.052, allocations: 3.938 kB / 1.127 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.052, allocations: 4 kB / 1.127 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006658/1.053, allocations: 467.1 kB / 1.128 GB, free: 13.3 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/1.053, allocations: 120.7 kB / 1.128 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.197e-05/1.053, allocations: 8 kB / 1.128 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001965/1.053, allocations: 27.86 kB / 1.128 GB, free: 13.13 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.998e-05/1.053, allocations: 19.98 kB / 1.128 GB, free: 13.11 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/1.053, allocations: 4 kB / 1.128 GB, free: 13.11 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002221/1.053, allocations: 235 kB / 1.128 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/1.053, allocations: 0 / 1.128 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003972/1.054, allocations: 76 kB / 1.128 GB, free: 12.8 MB / 0.8887 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.0003682/1.054, allocations: 173 kB / 1.128 GB, free: 12.63 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.000459/1.055, allocations: 195.6 kB / 1.129 GB, free: 12.44 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/1.055, allocations: 4.188 kB / 1.129 GB, free: 12.43 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002086/1.055, allocations: 95.83 kB / 1.129 GB, free: 12.34 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/1.056, allocations: 163.5 kB / 1.129 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/1.057, allocations: 0.7608 MB / 1.13 GB, free: 11.37 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/1.057, allocations: 0.7798 MB / 1.13 GB, free: 10.56 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.000234/1.058, allocations: 70.91 kB / 1.13 GB, free: 10.49 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.832e-05/1.058, allocations: 31.44 kB / 1.13 GB, free: 10.46 MB / 0.8887 GB Notification: Performance of SimCode: time 4.91e-07/1.058, allocations: 0 / 1.13 GB, free: 10.46 MB / 0.8887 GB Notification: Performance of Templates: time 0.01107/1.069, allocations: 5.509 MB / 1.136 GB, free: 5.051 MB / 0.8887 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