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.006763/0.006763, allocations: 103 kB / 15.88 MB, free: 6.328 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.001364/0.001364, allocations: 196.5 kB / 16.79 MB, free: 6.254 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.722/1.722, allocations: 222.9 MB / 240.5 MB, free: 4.457 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.491/2.491, allocations: 390.2 MB / 0.6649 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002019/0.00202, allocations: 67.89 kB / 0.8125 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8328/0.8349, allocations: 140.4 MB / 0.9496 GB, free: 9.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.177/1.012, allocations: 165.2 MB / 1.111 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.002926/1.015, allocations: 1.578 MB / 1.112 GB, free: 10.81 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004802/1.015, allocations: 11.94 kB / 1.112 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005632/1.016, allocations: 115.2 kB / 1.113 GB, free: 10.69 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001906/1.018, allocations: 0.6769 MB / 1.113 GB, free: 10.01 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001608/1.02, allocations: 0.5527 MB / 1.114 GB, free: 9.457 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001166/1.021, allocations: 0.9828 MB / 1.115 GB, free: 8.469 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004378/1.021, allocations: 205.4 kB / 1.115 GB, free: 8.266 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008203/1.022, allocations: 310.7 kB / 1.115 GB, free: 7.961 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004121/1.022, allocations: 239 kB / 1.115 GB, free: 7.727 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 5.572e-05/1.023, allocations: 12 kB / 1.115 GB, free: 7.715 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001807/1.024, allocations: 1.017 MB / 1.116 GB, free: 6.695 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001666/1.025, allocations: 107.6 kB / 1.117 GB, free: 6.59 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002449/1.025, allocations: 159.1 kB / 1.117 GB, free: 6.434 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0008495/1.026, allocations: 0.5029 MB / 1.117 GB, free: 5.93 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/1.026, allocations: 0 / 1.117 GB, free: 5.93 MB / 0.8731 GB Notification: Performance of FrontEnd: time 9.62e-07/1.026, allocations: 0 / 1.117 GB, free: 5.93 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.939e-06/1.026, allocations: 0 / 1.117 GB, free: 5.93 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.001097/1.027, allocations: 0.6699 MB / 1.118 GB, free: 5.211 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/1.027, allocations: 12.03 kB / 1.118 GB, free: 5.199 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001206/1.028, allocations: 155.4 kB / 1.118 GB, free: 5.047 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004189/1.028, allocations: 306.6 kB / 1.118 GB, free: 4.707 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.743e-05/1.029, allocations: 16.56 kB / 1.118 GB, free: 4.691 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.189e-05/1.029, allocations: 27.94 kB / 1.118 GB, free: 4.664 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000494/1.029, allocations: 289.8 kB / 1.119 GB, free: 4.359 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/1.029, allocations: 0 / 1.119 GB, free: 4.359 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/1.029, allocations: 15.98 kB / 1.119 GB, free: 4.344 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/1.029, allocations: 4 kB / 1.119 GB, free: 4.34 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004384/1.03, allocations: 204.7 kB / 1.119 GB, free: 4.141 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.001537/1.031, allocations: 1.223 MB / 1.12 GB, free: 2.812 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002936/1.031, allocations: 150.4 kB / 1.12 GB, free: 2.656 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001917/1.032, allocations: 96.8 kB / 1.12 GB, free: 2.559 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006586/1.032, allocations: 299.2 kB / 1.121 GB, free: 2.211 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/1.032, allocations: 42.55 kB / 1.121 GB, free: 2.16 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=17): time 4.098e-06/1.032, allocations: 0 / 1.121 GB, free: 2.16 MB / 0.8731 GB Notification: Performance of matching and sorting (n=17): time 0.0008126/1.033, allocations: 303.3 kB / 1.121 GB, free: 1.859 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/1.033, allocations: 55.34 kB / 1.121 GB, free: 1.793 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003424/1.034, allocations: 320.5 kB / 1.121 GB, free: 1.473 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.542e-05/1.034, allocations: 33.7 kB / 1.121 GB, free: 1.434 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/1.034, allocations: 180.2 kB / 1.121 GB, free: 1.254 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.812e-05/1.034, allocations: 59.11 kB / 1.121 GB, free: 1.195 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.411e-05/1.034, allocations: 41.7 kB / 1.122 GB, free: 1.148 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001301/1.034, allocations: 346.8 kB / 1.122 GB, free: 0.8008 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/1.034, allocations: 67.95 kB / 1.122 GB, free: 0.7344 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002046/1.034, allocations: 130.3 kB / 1.122 GB, free: 0.5898 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003461/1.035, allocations: 198.3 kB / 1.122 GB, free: 388 kB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/1.035, allocations: 7.875 kB / 1.122 GB, free: 380 kB / 0.8731 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000473/1.035, allocations: 253 kB / 1.122 GB, free: 120 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/1.035, allocations: 8.094 kB / 1.122 GB, free: 112 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/1.035, allocations: 0 / 1.122 GB, free: 112 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/1.035, allocations: 4 kB / 1.122 GB, free: 108 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/1.036, allocations: 47.91 kB / 1.123 GB, free: 60 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.066e-06/1.036, allocations: 0 / 1.123 GB, free: 60 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002328/1.036, allocations: 39.67 kB / 1.123 GB, free: 20 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.167e-05/1.036, allocations: 8 kB / 1.123 GB, free: 12 kB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001717/1.036, allocations: 157.7 kB / 1.123 GB, free: 15.85 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.055e-05/1.036, allocations: 35.61 kB / 1.123 GB, free: 15.81 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004991/1.037, allocations: 232.6 kB / 1.123 GB, free: 15.58 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/1.037, allocations: 0 / 1.123 GB, free: 15.58 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/1.037, allocations: 0 / 1.123 GB, free: 15.58 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/1.037, allocations: 0 / 1.123 GB, free: 15.58 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/1.038, allocations: 0.7107 MB / 1.124 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/1.038, allocations: 4.219 kB / 1.124 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/1.038, allocations: 39.91 kB / 1.124 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/1.038, allocations: 4 kB / 1.124 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/1.038, allocations: 4 kB / 1.124 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/1.038, allocations: 3.938 kB / 1.124 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/1.038, allocations: 4 kB / 1.124 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006726/1.039, allocations: 446.5 kB / 1.124 GB, free: 14.26 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/1.039, allocations: 124.7 kB / 1.124 GB, free: 14.12 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.676e-05/1.039, allocations: 12 kB / 1.124 GB, free: 14.11 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/1.039, allocations: 23.86 kB / 1.124 GB, free: 14.08 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.463e-05/1.039, allocations: 19.92 kB / 1.124 GB, free: 14.06 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/1.039, allocations: 4 kB / 1.124 GB, free: 14.06 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002293/1.039, allocations: 231 kB / 1.125 GB, free: 13.83 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/1.039, allocations: 0 / 1.125 GB, free: 13.83 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004153/1.04, allocations: 83.91 kB / 1.125 GB, free: 13.75 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.0003894/1.04, allocations: 169.6 kB / 1.125 GB, free: 13.58 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004596/1.041, allocations: 182.3 kB / 1.125 GB, free: 13.41 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/1.041, allocations: 0 / 1.125 GB, free: 13.41 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001967/1.041, allocations: 91.83 kB / 1.125 GB, free: 13.32 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009429/1.042, allocations: 160.1 kB / 1.125 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/1.043, allocations: 0.7543 MB / 1.126 GB, free: 12.35 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/1.043, allocations: 0.7836 MB / 1.127 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.24e-05/1.044, allocations: 27.44 kB / 1.127 GB, free: 11.51 MB / 0.8887 GB Notification: Performance of SimCode: time 1.923e-06/1.044, allocations: 192 / 1.127 GB, free: 11.51 MB / 0.8887 GB Notification: Performance of Templates: time 0.008444/1.052, allocations: 4.93 MB / 1.132 GB, free: 6.637 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches