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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008841/0.000884, allocations: 92.23 kB / 16.02 MB, free: 80 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.001051/0.001051, allocations: 178.1 kB / 16.92 MB, free: 6.648 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.391/1.391, allocations: 223.3 MB / 241 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.629/2.629, allocations: 437.8 MB / 0.7128 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003871/0.0003872, allocations: 16 kB / 0.8735 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.737/0.7374, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1838/0.9212, allocations: 163 MB / 1.183 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002927/0.9242, allocations: 1.561 MB / 1.184 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003352/0.9245, allocations: 11.94 kB / 1.184 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004778/0.925, allocations: 119.2 kB / 1.185 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001842/0.9269, allocations: 0.6652 MB / 1.185 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001632/0.9285, allocations: 0.5465 MB / 1.186 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001159/0.9297, allocations: 0.9867 MB / 1.187 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003898/0.9301, allocations: 213 kB / 1.187 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007002/0.9308, allocations: 310.7 kB / 1.187 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003135/0.9311, allocations: 235 kB / 1.187 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.556e-05/0.9312, allocations: 12 kB / 1.187 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001802/0.933, allocations: 1.017 MB / 1.188 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001391/0.9331, allocations: 95.7 kB / 1.189 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002183/0.9334, allocations: 184.9 kB / 1.189 GB, free: 6.293 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009517/0.9343, allocations: 0.5028 MB / 1.189 GB, free: 5.789 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/0.9343, allocations: 0 / 1.189 GB, free: 5.789 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.844e-06/0.9344, allocations: 3.938 kB / 1.189 GB, free: 5.785 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.9344, allocations: 4 kB / 1.189 GB, free: 5.781 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.000972/0.9353, allocations: 0.6039 MB / 1.19 GB, free: 5.129 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.9354, allocations: 12.03 kB / 1.19 GB, free: 5.117 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001157/0.9366, allocations: 151.5 kB / 1.19 GB, free: 4.969 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004536/0.937, allocations: 314.6 kB / 1.19 GB, free: 4.621 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.9371, allocations: 16.56 kB / 1.19 GB, free: 4.605 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.378e-05/0.9371, allocations: 31.84 kB / 1.19 GB, free: 4.574 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005367/0.9377, allocations: 285.9 kB / 1.191 GB, free: 4.273 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.9377, allocations: 0 / 1.191 GB, free: 4.273 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.477e-05/0.9377, allocations: 11.94 kB / 1.191 GB, free: 4.262 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.9377, allocations: 11.98 kB / 1.191 GB, free: 4.25 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004516/0.9382, allocations: 220.9 kB / 1.191 GB, free: 4.035 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.001516/0.9397, allocations: 1.227 MB / 1.192 GB, free: 2.703 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003071/0.94, allocations: 154.4 kB / 1.192 GB, free: 2.543 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001987/0.9402, allocations: 104.8 kB / 1.192 GB, free: 2.438 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006347/0.9409, allocations: 315.2 kB / 1.193 GB, free: 2.074 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.9409, allocations: 34.56 kB / 1.193 GB, free: 2.031 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=17): time 2.625e-06/0.9409, allocations: 0 / 1.193 GB, free: 2.031 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17): time 0.0008499/0.9418, allocations: 305.4 kB / 1.193 GB, free: 1.727 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.9418, allocations: 55.41 kB / 1.193 GB, free: 1.66 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003392/0.9422, allocations: 324.5 kB / 1.193 GB, free: 1.328 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.9422, allocations: 29.7 kB / 1.193 GB, free: 1.293 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.9424, allocations: 176.2 kB / 1.193 GB, free: 1.117 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.202e-05/0.9424, allocations: 63.09 kB / 1.193 GB, free: 1.055 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-05/0.9425, allocations: 25.72 kB / 1.193 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.9426, allocations: 342.8 kB / 1.194 GB, free: 0.6797 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.9428, allocations: 75.89 kB / 1.194 GB, free: 0.6055 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002304/0.943, allocations: 134.9 kB / 1.194 GB, free: 468 kB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003861/0.9434, allocations: 209 kB / 1.194 GB, free: 240 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.9435, allocations: 3.938 kB / 1.194 GB, free: 236 kB / 0.9356 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005221/0.944, allocations: 267.6 kB / 1.194 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.944, allocations: 9.812 kB / 1.194 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.944, allocations: 0 / 1.194 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.944, allocations: 4 kB / 1.194 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.9443, allocations: 47.91 kB / 1.195 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.9443, allocations: 4 kB / 1.195 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002344/0.9445, allocations: 39.67 kB / 1.195 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.139e-05/0.9446, allocations: 16 kB / 1.195 GB, free: 15.85 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.0001548/0.9447, allocations: 151.2 kB / 1.195 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.419e-05/0.9448, allocations: 35.7 kB / 1.195 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000516/0.9453, allocations: 240.7 kB / 1.195 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.9453, allocations: 7.938 kB / 1.195 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.9453, allocations: 0 / 1.195 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.9453, allocations: 0 / 1.195 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/0.9464, allocations: 0.7146 MB / 1.196 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.9465, allocations: 4 kB / 1.196 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000175/0.9466, allocations: 40.12 kB / 1.196 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.9467, allocations: 8 kB / 1.196 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.9467, allocations: 4 kB / 1.196 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.141e-06/0.9467, allocations: 7.938 kB / 1.196 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.9467, allocations: 4 kB / 1.196 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007026/0.9474, allocations: 462.3 kB / 1.196 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.9475, allocations: 124.7 kB / 1.196 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.368e-05/0.9476, allocations: 8 kB / 1.196 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/0.9478, allocations: 27.86 kB / 1.196 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.085e-05/0.9479, allocations: 19.98 kB / 1.196 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.9479, allocations: 4 kB / 1.196 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002384/0.9481, allocations: 235 kB / 1.197 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9481, allocations: 0 / 1.197 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003986/0.9485, allocations: 79.91 kB / 1.197 GB, free: 13.55 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.0004115/0.9489, allocations: 168.2 kB / 1.197 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004589/0.9494, allocations: 187.7 kB / 1.197 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/0.9494, allocations: 4 kB / 1.197 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002194/0.9497, allocations: 104 kB / 1.197 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.9507, allocations: 163.7 kB / 1.197 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.9518, allocations: 0.7915 MB / 1.198 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.9522, allocations: 0.7836 MB / 1.199 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.975e-05/0.9523, allocations: 31.42 kB / 1.199 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of SimCode: time 3.91e-07/0.9523, allocations: 0 / 1.199 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of Templates: time 0.008213/0.9605, allocations: 4.873 MB / 1.204 GB, free: 6.43 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches