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.001328/0.001328, allocations: 108 kB / 15.61 MB, free: 152 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.001495/0.001495, allocations: 195.1 kB / 16.53 MB, free: 6.699 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.52/1.52, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.84/2.84, allocations: 437 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 59.91 kB / 0.8692 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7277/0.7297, allocations: 151.6 MB / 1.017 GB, free: 2.613 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.2156/0.9454, allocations: 167.4 MB / 1.181 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003468/0.9489, allocations: 1.556 MB / 1.182 GB, free: 9 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006968/0.9496, allocations: 11.94 kB / 1.182 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0007877/0.9504, allocations: 150.8 kB / 1.182 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002484/0.953, allocations: 0.7117 MB / 1.183 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001961/0.955, allocations: 0.5951 MB / 1.184 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001243/0.9562, allocations: 0.7177 MB / 1.184 GB, free: 6.809 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006169/0.9569, allocations: 237 kB / 1.185 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009991/0.9579, allocations: 342.7 kB / 1.185 GB, free: 6.242 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005286/0.9584, allocations: 227 kB / 1.185 GB, free: 6.02 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.019e-05/0.9585, allocations: 20 kB / 1.185 GB, free: 6 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001977/0.9605, allocations: 0.865 MB / 1.186 GB, free: 5.133 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001947/0.9607, allocations: 111.7 kB / 1.186 GB, free: 5.023 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002924/0.961, allocations: 175.1 kB / 1.186 GB, free: 4.852 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001709/0.9627, allocations: 0.7247 MB / 1.187 GB, free: 4.125 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.9627, allocations: 4 kB / 1.187 GB, free: 4.121 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9627, allocations: 0 / 1.187 GB, free: 4.121 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.984e-05/0.9628, allocations: 0 / 1.187 GB, free: 4.121 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.001293/0.9641, allocations: 0.6545 MB / 1.188 GB, free: 3.418 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.9641, allocations: 12.03 kB / 1.188 GB, free: 3.406 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001286/0.9654, allocations: 155.4 kB / 1.188 GB, free: 3.254 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005427/0.966, allocations: 326.5 kB / 1.188 GB, free: 2.898 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.763e-05/0.966, allocations: 16.56 kB / 1.188 GB, free: 2.879 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.321e-05/0.9661, allocations: 27.94 kB / 1.188 GB, free: 2.852 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005658/0.9666, allocations: 281.8 kB / 1.188 GB, free: 2.555 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.9667, allocations: 0 / 1.188 GB, free: 2.555 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.709e-05/0.9667, allocations: 12 kB / 1.188 GB, free: 2.543 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.9667, allocations: 8 kB / 1.188 GB, free: 2.535 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004683/0.9672, allocations: 200.9 kB / 1.189 GB, free: 2.34 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.001714/0.9689, allocations: 1.227 MB / 1.19 GB, free: 1.008 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003229/0.9693, allocations: 154.4 kB / 1.19 GB, free: 0.8477 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002067/0.9695, allocations: 100.8 kB / 1.19 GB, free: 0.7461 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007072/0.9702, allocations: 299.2 kB / 1.19 GB, free: 408 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.9702, allocations: 34.56 kB / 1.19 GB, free: 364 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=17): time 1.483e-06/0.9702, allocations: 0 / 1.19 GB, free: 364 kB / 0.9356 GB Notification: Performance of matching and sorting (n=17): time 0.000884/0.9711, allocations: 298.1 kB / 1.191 GB, free: 60 kB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.035e-05/0.9712, allocations: 59.34 kB / 1.191 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003884/0.9716, allocations: 324.5 kB / 1.191 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/0.9716, allocations: 29.7 kB / 1.191 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.9718, allocations: 184.1 kB / 1.191 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.169e-05/0.9719, allocations: 55.2 kB / 1.191 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.521e-05/0.972, allocations: 41.7 kB / 1.191 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.9721, allocations: 338.8 kB / 1.192 GB, free: 15 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001909/0.9723, allocations: 71.95 kB / 1.192 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002375/0.9726, allocations: 127.1 kB / 1.192 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004063/0.973, allocations: 198.4 kB / 1.192 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.973, allocations: 3.938 kB / 1.192 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005457/0.9736, allocations: 258.1 kB / 1.192 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.9736, allocations: 4 kB / 1.192 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.9736, allocations: 8.094 kB / 1.192 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.9736, allocations: 4 kB / 1.192 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/0.9739, allocations: 39.98 kB / 1.192 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.9739, allocations: 7.938 kB / 1.192 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002143/0.9741, allocations: 35.61 kB / 1.192 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.881e-05/0.9741, allocations: 8 kB / 1.192 GB, free: 14.21 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.000168/0.9743, allocations: 157.8 kB / 1.193 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.736e-05/0.9744, allocations: 27.62 kB / 1.193 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000526/0.9749, allocations: 234 kB / 1.193 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.975, allocations: 4 kB / 1.193 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.975, allocations: 0 / 1.193 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.975, allocations: 0 / 1.193 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001199/0.9762, allocations: 0.7224 MB / 1.194 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.9762, allocations: 0 / 1.194 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000189/0.9764, allocations: 31.98 kB / 1.194 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.253e-06/0.9764, allocations: 4.219 kB / 1.194 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.9764, allocations: 8 kB / 1.194 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.185e-06/0.9764, allocations: 11.88 kB / 1.194 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.9765, allocations: 4 kB / 1.194 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007597/0.9772, allocations: 446.8 kB / 1.194 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.9774, allocations: 116.8 kB / 1.194 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.695e-05/0.9774, allocations: 8.094 kB / 1.194 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.9776, allocations: 19.86 kB / 1.194 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.633e-05/0.9777, allocations: 16.19 kB / 1.194 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.9777, allocations: 8 kB / 1.194 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002566/0.978, allocations: 231 kB / 1.194 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.978, allocations: 0 / 1.194 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004544/0.9784, allocations: 83.84 kB / 1.195 GB, free: 11.96 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.0004879/0.9789, allocations: 173.8 kB / 1.195 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005118/0.9795, allocations: 189.6 kB / 1.195 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.9795, allocations: 0 / 1.195 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002197/0.9797, allocations: 96.45 kB / 1.195 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009793/0.9807, allocations: 163.8 kB / 1.195 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.9819, allocations: 0.6261 MB / 1.196 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004485/0.9824, allocations: 0.7833 MB / 1.196 GB, free: 9.863 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000267/0.9827, allocations: 66.92 kB / 1.197 GB, free: 9.801 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.25e-05/0.9827, allocations: 31.38 kB / 1.197 GB, free: 9.77 MB / 0.9512 GB Notification: Performance of SimCode: time 5.31e-07/0.9827, allocations: 0 / 1.197 GB, free: 9.77 MB / 0.9512 GB Notification: Performance of Templates: time 0.01297/0.9957, allocations: 5.824 MB / 1.202 GB, free: 4.047 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=400 -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