Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001843/0.001843, allocations: 108 kB / 15.6 MB, free: 132 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.002904/0.002904, allocations: 191 kB / 16.53 MB, free: 6.391 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.446/1.446, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.612/2.612, allocations: 437 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 71.88 kB / 0.8692 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7183/0.7196, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1914/0.9111, allocations: 167.4 MB / 1.181 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003559/0.9147, allocations: 1.551 MB / 1.182 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005009/0.9152, allocations: 11.88 kB / 1.182 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005954/0.9158, allocations: 146.9 kB / 1.182 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001948/0.9178, allocations: 0.7117 MB / 1.183 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00165/0.9195, allocations: 0.6048 MB / 1.184 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001035/0.9205, allocations: 0.7176 MB / 1.184 GB, free: 6.672 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004125/0.921, allocations: 245 kB / 1.185 GB, free: 6.434 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006415/0.9216, allocations: 342.7 kB / 1.185 GB, free: 6.098 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002925/0.9219, allocations: 227 kB / 1.185 GB, free: 5.875 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.437e-05/0.922, allocations: 24 kB / 1.185 GB, free: 5.852 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001716/0.9237, allocations: 0.865 MB / 1.186 GB, free: 4.984 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001263/0.9238, allocations: 107.7 kB / 1.186 GB, free: 4.879 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002521/0.9241, allocations: 175.2 kB / 1.186 GB, free: 4.707 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.9252, allocations: 0.7169 MB / 1.187 GB, free: 3.988 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.9252, allocations: 0 / 1.187 GB, free: 3.988 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.405e-06/0.9252, allocations: 4 kB / 1.187 GB, free: 3.984 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.9253, allocations: 0 / 1.187 GB, free: 3.984 MB / 0.9356 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.00111/0.9264, allocations: 0.6637 MB / 1.188 GB, free: 3.273 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.9264, allocations: 16.03 kB / 1.188 GB, free: 3.258 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001184/0.9276, allocations: 155.4 kB / 1.188 GB, free: 3.105 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004675/0.9281, allocations: 310.6 kB / 1.188 GB, free: 2.766 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.9281, allocations: 20.56 kB / 1.188 GB, free: 2.742 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.274e-05/0.9282, allocations: 27.94 kB / 1.188 GB, free: 2.715 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005006/0.9287, allocations: 277.9 kB / 1.188 GB, free: 2.422 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.9287, allocations: 0 / 1.188 GB, free: 2.422 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.639e-05/0.9287, allocations: 16 kB / 1.188 GB, free: 2.406 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.9288, allocations: 8 kB / 1.188 GB, free: 2.398 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004207/0.9292, allocations: 204.9 kB / 1.189 GB, free: 2.199 MB / 0.9356 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.001454/0.9307, allocations: 1.23 MB / 1.19 GB, free: 0.8633 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002818/0.9309, allocations: 146.4 kB / 1.19 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001946/0.9312, allocations: 96.81 kB / 1.19 GB, free: 0.6133 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006586/0.9318, allocations: 303.2 kB / 1.19 GB, free: 268 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.9319, allocations: 38.56 kB / 1.19 GB, free: 220 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=17): time 1.754e-06/0.9319, allocations: 3.938 kB / 1.19 GB, free: 216 kB / 0.9356 GB Notification: Performance of matching and sorting (n=17): time 0.0008297/0.9327, allocations: 294.6 kB / 1.191 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.9328, allocations: 51.41 kB / 1.191 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000342/0.9331, allocations: 324.5 kB / 1.191 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.9331, allocations: 33.7 kB / 1.191 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.9333, allocations: 184.1 kB / 1.191 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.664e-05/0.9333, allocations: 59.19 kB / 1.191 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.276e-05/0.9334, allocations: 45.7 kB / 1.191 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.9336, allocations: 338.8 kB / 1.192 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/0.9337, allocations: 67.95 kB / 1.192 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002119/0.934, allocations: 130.8 kB / 1.192 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000367/0.9343, allocations: 195.3 kB / 1.192 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.9344, allocations: 3.938 kB / 1.192 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004829/0.9348, allocations: 257 kB / 1.192 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.9349, allocations: 4 kB / 1.192 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.9349, allocations: 7.984 kB / 1.192 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.9349, allocations: 0 / 1.192 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/0.9352, allocations: 43.92 kB / 1.192 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.9352, allocations: 0 / 1.192 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/0.9354, allocations: 35.67 kB / 1.192 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.978e-05/0.9354, allocations: 8.141 kB / 1.192 GB, free: 14.07 MB / 0.9512 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.0001591/0.9356, allocations: 165.8 kB / 1.193 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.853e-05/0.9356, allocations: 31.61 kB / 1.193 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005019/0.9362, allocations: 226.2 kB / 1.193 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.9362, allocations: 0 / 1.193 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.9362, allocations: 8 kB / 1.193 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.9362, allocations: 3.938 kB / 1.193 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.9373, allocations: 0.707 MB / 1.194 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.9373, allocations: 8.031 kB / 1.194 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001771/0.9375, allocations: 39.91 kB / 1.194 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.9375, allocations: 0 / 1.194 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.9375, allocations: 8.094 kB / 1.194 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/0.9375, allocations: 11.88 kB / 1.194 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.9375, allocations: 0 / 1.194 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00067/0.9382, allocations: 450.7 kB / 1.194 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/0.9383, allocations: 120.8 kB / 1.194 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.562e-05/0.9384, allocations: 12.06 kB / 1.194 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.9386, allocations: 11.92 kB / 1.194 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.196e-05/0.9386, allocations: 19.92 kB / 1.194 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.9386, allocations: 8 kB / 1.194 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002215/0.9389, allocations: 227 kB / 1.194 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9389, allocations: 0 / 1.194 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004114/0.9393, allocations: 87.84 kB / 1.194 GB, free: 11.81 MB / 0.9512 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.0003884/0.9397, allocations: 159 kB / 1.195 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004759/0.9402, allocations: 193.6 kB / 1.195 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.9402, allocations: 4.188 kB / 1.195 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001993/0.9404, allocations: 91.83 kB / 1.195 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008802/0.9413, allocations: 173 kB / 1.195 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.9423, allocations: 0.6259 MB / 1.196 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.9427, allocations: 0.7834 MB / 1.196 GB, free: 9.723 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.00021/0.9429, allocations: 58.94 kB / 1.197 GB, free: 9.668 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.909e-05/0.943, allocations: 23.44 kB / 1.197 GB, free: 9.645 MB / 0.9512 GB Notification: Performance of SimCode: time 2.6e-07/0.943, allocations: 4 kB / 1.197 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of Templates: time 0.0119/0.9549, allocations: 5.829 MB / 1.202 GB, free: 3.918 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_Velocity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches