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.001132/0.001132, allocations: 99.42 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001901/0.001901, allocations: 185.1 kB / 16.92 MB, free: 6.688 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.427/1.427, allocations: 223.3 MB / 241 MB, free: 5.328 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.448/2.448, allocations: 390.9 MB / 0.667 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003514/0.0003514, allocations: 16 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7399/0.7403, allocations: 142.4 MB / 0.9557 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1819/0.9222, allocations: 163 MB / 1.115 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.00304/0.9253, allocations: 1.555 MB / 1.116 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004686/0.9258, allocations: 11.94 kB / 1.116 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005738/0.9264, allocations: 111.2 kB / 1.117 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001977/0.9284, allocations: 0.677 MB / 1.117 GB, free: 9.414 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00175/0.9301, allocations: 0.553 MB / 1.118 GB, free: 8.863 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001342/0.9315, allocations: 0.9906 MB / 1.119 GB, free: 7.867 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004906/0.932, allocations: 193.5 kB / 1.119 GB, free: 7.676 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008468/0.9329, allocations: 314.7 kB / 1.119 GB, free: 7.367 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004704/0.9333, allocations: 231 kB / 1.119 GB, free: 7.141 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 5.822e-05/0.9334, allocations: 12 kB / 1.119 GB, free: 7.129 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00199/0.9354, allocations: 1.017 MB / 1.12 GB, free: 6.109 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002008/0.9356, allocations: 103.6 kB / 1.121 GB, free: 6.008 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002781/0.9359, allocations: 180.9 kB / 1.121 GB, free: 5.824 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0009735/0.9369, allocations: 0.5028 MB / 1.121 GB, free: 5.32 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.9369, allocations: 0 / 1.121 GB, free: 5.32 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.184e-06/0.9369, allocations: 0 / 1.121 GB, free: 5.32 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.545e-05/0.9369, allocations: 0 / 1.121 GB, free: 5.32 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.001198/0.9381, allocations: 0.6155 MB / 1.122 GB, free: 4.656 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.9382, allocations: 8.031 kB / 1.122 GB, free: 4.648 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001373/0.9396, allocations: 155.4 kB / 1.122 GB, free: 4.496 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004936/0.9401, allocations: 306.7 kB / 1.122 GB, free: 4.156 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.9401, allocations: 20.56 kB / 1.122 GB, free: 4.137 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.608e-05/0.9402, allocations: 27.94 kB / 1.122 GB, free: 4.109 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005155/0.9407, allocations: 297.8 kB / 1.123 GB, free: 3.797 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.9407, allocations: 0 / 1.123 GB, free: 3.797 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/0.9407, allocations: 4 kB / 1.123 GB, free: 3.793 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.9408, allocations: 8 kB / 1.123 GB, free: 3.785 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000452/0.9412, allocations: 220.7 kB / 1.123 GB, free: 3.57 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.001527/0.9428, allocations: 1.234 MB / 1.124 GB, free: 2.23 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000309/0.9431, allocations: 158.3 kB / 1.124 GB, free: 2.066 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/0.9433, allocations: 102.3 kB / 1.124 GB, free: 1.965 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006484/0.944, allocations: 319.2 kB / 1.125 GB, free: 1.598 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.944, allocations: 34.56 kB / 1.125 GB, free: 1.555 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=17): time 1.744e-06/0.944, allocations: 0 / 1.125 GB, free: 1.555 MB / 0.8731 GB Notification: Performance of matching and sorting (n=17): time 0.0008427/0.9448, allocations: 313.4 kB / 1.125 GB, free: 1.242 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.9449, allocations: 55.41 kB / 1.125 GB, free: 1.176 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003383/0.9452, allocations: 324.5 kB / 1.125 GB, free: 0.8516 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.9453, allocations: 25.7 kB / 1.125 GB, free: 0.8203 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.9454, allocations: 184.2 kB / 1.125 GB, free: 0.6367 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.193e-05/0.9455, allocations: 59.11 kB / 1.125 GB, free: 0.5781 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.618e-05/0.9455, allocations: 21.7 kB / 1.126 GB, free: 0.5508 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.9457, allocations: 342.8 kB / 1.126 GB, free: 212 kB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/0.9458, allocations: 75.95 kB / 1.126 GB, free: 136 kB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/0.9461, allocations: 138.4 kB / 1.126 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003896/0.9465, allocations: 211.4 kB / 1.126 GB, free: 15.76 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.748e-06/0.9465, allocations: 3.938 kB / 1.126 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005009/0.947, allocations: 261 kB / 1.126 GB, free: 15.49 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.9471, allocations: 17.64 kB / 1.127 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.9471, allocations: 0 / 1.127 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.9471, allocations: 4 kB / 1.127 GB, free: 15.47 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/0.9473, allocations: 43.92 kB / 1.127 GB, free: 15.43 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.9473, allocations: 4 kB / 1.127 GB, free: 15.43 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000254/0.9476, allocations: 35.77 kB / 1.127 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.992e-05/0.9476, allocations: 19.92 kB / 1.127 GB, free: 15.37 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.0001504/0.9478, allocations: 153.7 kB / 1.127 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.292e-05/0.9478, allocations: 31.62 kB / 1.127 GB, free: 15.18 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005406/0.9484, allocations: 240.7 kB / 1.127 GB, free: 14.94 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.9484, allocations: 0 / 1.127 GB, free: 14.94 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.9484, allocations: 4 kB / 1.127 GB, free: 14.93 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.9484, allocations: 3.984 kB / 1.127 GB, free: 14.93 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/0.9496, allocations: 0.7185 MB / 1.128 GB, free: 14.13 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.9496, allocations: 0 / 1.128 GB, free: 14.13 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/0.9498, allocations: 40.14 kB / 1.128 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.9498, allocations: 4 kB / 1.128 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.9498, allocations: 4 kB / 1.128 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/0.9498, allocations: 8.031 kB / 1.128 GB, free: 14.08 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.9498, allocations: 7.938 kB / 1.128 GB, free: 14.07 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007201/0.9505, allocations: 466.4 kB / 1.128 GB, free: 13.58 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.9507, allocations: 124.7 kB / 1.128 GB, free: 13.44 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.183e-05/0.9507, allocations: 4 kB / 1.128 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.9509, allocations: 27.86 kB / 1.128 GB, free: 13.41 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.64e-05/0.951, allocations: 19.98 kB / 1.128 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.951, allocations: 8 kB / 1.128 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002539/0.9513, allocations: 227 kB / 1.129 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9513, allocations: 4 kB / 1.129 GB, free: 13.15 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004259/0.9517, allocations: 79.98 kB / 1.129 GB, free: 13.07 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.0004056/0.9521, allocations: 163.8 kB / 1.129 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004545/0.9526, allocations: 198.3 kB / 1.129 GB, free: 12.72 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.9526, allocations: 0 / 1.129 GB, free: 12.72 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002046/0.9528, allocations: 100.1 kB / 1.129 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.9538, allocations: 163.5 kB / 1.129 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.9549, allocations: 0.7976 MB / 1.13 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003573/0.9553, allocations: 0.7836 MB / 1.131 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.659e-05/0.9554, allocations: 27.44 kB / 1.131 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of SimCode: time 3.2e-07/0.9554, allocations: 4 kB / 1.131 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of Templates: time 0.007738/0.9631, allocations: 4.885 MB / 1.136 GB, free: 5.938 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