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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 112.5 kB / 15.73 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.001339/0.001339, allocations: 190.5 kB / 16.67 MB, free: 6.582 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.251/1.251, allocations: 222.9 MB / 240.4 MB, free: 4.344 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.315/2.315, allocations: 437.1 MB / 0.7106 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001667/0.001667, allocations: 67.89 kB / 1.018 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.2402, allocations: 151.6 MB / 1.166 GB, free: 7.234 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.6088/0.8491, allocations: 167.4 MB / 1.33 GB, free: 3.66 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002354/0.8515, allocations: 1.56 MB / 1.331 GB, free: 2.559 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001594/0.8516, allocations: 10.94 kB / 1.331 GB, free: 2.555 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0003907/0.852, allocations: 154.6 kB / 1.331 GB, free: 2.449 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001355/0.8534, allocations: 0.7007 MB / 1.332 GB, free: 2.082 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.8546, allocations: 0.5997 MB / 1.333 GB, free: 1.789 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0006592/0.8553, allocations: 0.7189 MB / 1.333 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002976/0.8556, allocations: 232.9 kB / 1.334 GB, free: 1.363 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004874/0.8561, allocations: 351.5 kB / 1.334 GB, free: 1.211 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002446/0.8563, allocations: 230.6 kB / 1.334 GB, free: 1.109 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.776e-05/0.8564, allocations: 22.75 kB / 1.334 GB, free: 1.109 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001188/0.8576, allocations: 0.8679 MB / 1.335 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.8577, allocations: 117.8 kB / 1.335 GB, free: 0.707 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000155/0.8578, allocations: 165.3 kB / 1.335 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0008917/0.8587, allocations: 0.7423 MB / 1.336 GB, free: 368 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.8587, allocations: 0 / 1.336 GB, free: 368 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.182e-06/0.8588, allocations: 1.375 kB / 1.336 GB, free: 368 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.8588, allocations: 4 kB / 1.336 GB, free: 364 kB / 1.014 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.000841/0.8596, allocations: 0.6736 MB / 1.337 GB, free: 15.8 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 2.822e-05/0.8596, allocations: 10.28 kB / 1.337 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.525e-05/0.8597, allocations: 55.19 kB / 1.337 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009674/0.8607, allocations: 156 kB / 1.337 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004431/0.8611, allocations: 329.2 kB / 1.337 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.8612, allocations: 18.16 kB / 1.337 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.035e-05/0.8612, allocations: 31.64 kB / 1.337 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004397/0.8616, allocations: 286.4 kB / 1.337 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.8617, allocations: 3.938 kB / 1.337 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.754e-05/0.8617, allocations: 10.28 kB / 1.338 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/0.8617, allocations: 5.812 kB / 1.338 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003787/0.8621, allocations: 202.9 kB / 1.338 GB, free: 15.2 MB / 1.029 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.001289/0.8634, allocations: 1.227 MB / 1.339 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000259/0.8637, allocations: 154.6 kB / 1.339 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/0.8638, allocations: 92.58 kB / 1.339 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005306/0.8644, allocations: 303.9 kB / 1.339 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.8644, allocations: 35.81 kB / 1.339 GB, free: 13.77 MB / 1.029 GB Notification: Performance of pre-optimization done (n=17): time 1.092e-06/0.8644, allocations: 0 / 1.339 GB, free: 13.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=17): time 0.0006942/0.8651, allocations: 297.3 kB / 1.34 GB, free: 13.66 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/0.8652, allocations: 54.25 kB / 1.34 GB, free: 13.6 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002906/0.8655, allocations: 329.3 kB / 1.34 GB, free: 13.42 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.8655, allocations: 30.89 kB / 1.34 GB, free: 13.39 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.8656, allocations: 179.3 kB / 1.34 GB, free: 13.23 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.953e-05/0.8657, allocations: 67.3 kB / 1.34 GB, free: 13.18 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.904e-05/0.8658, allocations: 43.92 kB / 1.34 GB, free: 13.15 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.8659, allocations: 344.5 kB / 1.341 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.8661, allocations: 68.84 kB / 1.341 GB, free: 12.8 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/0.8663, allocations: 129.1 kB / 1.341 GB, free: 12.73 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003355/0.8666, allocations: 195.5 kB / 1.341 GB, free: 12.62 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.8666, allocations: 5.406 kB / 1.341 GB, free: 12.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000429/0.8671, allocations: 254 kB / 1.341 GB, free: 12.51 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.8671, allocations: 5.719 kB / 1.341 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.8671, allocations: 5.5 kB / 1.341 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.8671, allocations: 3.031 kB / 1.341 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/0.8673, allocations: 47.06 kB / 1.341 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.8673, allocations: 1.469 kB / 1.341 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001744/0.8675, allocations: 33.58 kB / 1.341 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.595e-05/0.8675, allocations: 13.12 kB / 1.341 GB, free: 12.48 MB / 1.029 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.0001321/0.8676, allocations: 153.7 kB / 1.342 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.087e-05/0.8677, allocations: 34.33 kB / 1.342 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004354/0.8681, allocations: 238.8 kB / 1.342 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.8682, allocations: 2.25 kB / 1.342 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.8682, allocations: 2.344 kB / 1.342 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.8682, allocations: 1.625 kB / 1.342 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009322/0.8691, allocations: 0.7022 MB / 1.343 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.8691, allocations: 5 kB / 1.343 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.8693, allocations: 33.89 kB / 1.343 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.175e-06/0.8693, allocations: 3.422 kB / 1.343 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.8693, allocations: 11.44 kB / 1.343 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.8693, allocations: 6.656 kB / 1.343 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.8693, allocations: 10.67 kB / 1.343 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006101/0.8699, allocations: 445 kB / 1.343 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.8701, allocations: 124.5 kB / 1.343 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.116e-05/0.8701, allocations: 11.22 kB / 1.343 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.8703, allocations: 11.97 kB / 1.343 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.8703, allocations: 19.69 kB / 1.343 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.8703, allocations: 6.594 kB / 1.343 GB, free: 11.28 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001963/0.8705, allocations: 234.8 kB / 1.343 GB, free: 11.16 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8706, allocations: 0 / 1.343 GB, free: 11.16 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003359/0.8709, allocations: 85.05 kB / 1.344 GB, free: 11.14 MB / 1.029 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.001079/0.872, allocations: 1.043 MB / 1.345 GB, free: 10.3 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000375/0.8724, allocations: 178.1 kB / 1.345 GB, free: 10.25 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.8724, allocations: 5.312 kB / 1.345 GB, free: 10.25 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001764/0.8726, allocations: 93.58 kB / 1.345 GB, free: 10.22 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007875/0.8734, allocations: 167 kB / 1.345 GB, free: 10.17 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003333/0.8767, allocations: 3.007 MB / 1.348 GB, free: 8.172 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.877, allocations: 0.7849 MB / 1.349 GB, free: 7.465 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001811/0.8772, allocations: 72.5 kB / 1.349 GB, free: 7.449 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.8774, allocations: 92.06 kB / 1.349 GB, free: 7.383 MB / 1.029 GB Notification: Performance of SimCode: time 2.3e-07/0.8774, allocations: 0 / 1.349 GB, free: 7.383 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.833/2.711, allocations: 9.027 MB / 1.358 GB, free: 4.75 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.03/16.74, allocations: 7.281 kB / 1.358 GB, free: 4.746 MB / 1.029 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sensors_Examples_Velocity.fmu > 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