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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_9_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.00797/0.00797, allocations: 102 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001647/0.001647, allocations: 187.9 kB / 16.67 MB, free: 5.969 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.248/1.248, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.094/2.094, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.001099, allocations: 63.38 kB / 0.9504 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2385, allocations: 140.4 MB / 1.087 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1613/0.3998, allocations: 167.4 MB / 1.251 GB, free: 9.949 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002664/0.4025, allocations: 1.564 MB / 1.252 GB, free: 8.383 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004376/0.403, allocations: 15.88 kB / 1.252 GB, free: 8.367 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000526/0.4035, allocations: 142.9 kB / 1.253 GB, free: 8.227 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00178/0.4054, allocations: 0.7078 MB / 1.253 GB, free: 7.516 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001448/0.4068, allocations: 0.6071 MB / 1.254 GB, free: 6.91 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0008656/0.4077, allocations: 0.7137 MB / 1.255 GB, free: 6.195 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004839/0.4082, allocations: 237.6 kB / 1.255 GB, free: 5.961 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007315/0.409, allocations: 346.7 kB / 1.255 GB, free: 5.621 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003504/0.4093, allocations: 227 kB / 1.255 GB, free: 5.398 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.213e-05/0.4094, allocations: 20 kB / 1.255 GB, free: 5.379 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001381/0.4108, allocations: 0.8767 MB / 1.256 GB, free: 4.5 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001562/0.4109, allocations: 111.7 kB / 1.256 GB, free: 4.391 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002037/0.4112, allocations: 167.2 kB / 1.257 GB, free: 4.227 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001152/0.4123, allocations: 0.7365 MB / 1.257 GB, free: 3.488 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.4123, allocations: 0 / 1.257 GB, free: 3.488 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.092e-06/0.4123, allocations: 0 / 1.257 GB, free: 3.488 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.182e-05/0.4124, allocations: 0 / 1.257 GB, free: 3.488 MB / 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.0009868/0.4133, allocations: 0.6622 MB / 1.258 GB, free: 2.777 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.4134, allocations: 12.03 kB / 1.258 GB, free: 2.766 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.916e-05/0.4135, allocations: 62.47 kB / 1.258 GB, free: 2.695 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/0.4146, allocations: 163.3 kB / 1.258 GB, free: 2.535 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005107/0.4151, allocations: 322.7 kB / 1.258 GB, free: 2.18 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.4152, allocations: 24.5 kB / 1.258 GB, free: 2.152 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.502e-05/0.4152, allocations: 24 kB / 1.258 GB, free: 2.129 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004599/0.4157, allocations: 277.8 kB / 1.259 GB, free: 1.84 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.4157, allocations: 8 kB / 1.259 GB, free: 1.832 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.187e-05/0.4157, allocations: 8 kB / 1.259 GB, free: 1.824 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.4157, allocations: 8 kB / 1.259 GB, free: 1.816 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004115/0.4162, allocations: 204.7 kB / 1.259 GB, free: 1.617 MB / 1.014 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.001343/0.4175, allocations: 1.23 MB / 1.26 GB, free: 288 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002741/0.4178, allocations: 146.5 kB / 1.26 GB, free: 132 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001703/0.418, allocations: 96.8 kB / 1.26 GB, free: 32 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5063/0.9243, allocations: 295.2 kB / 1.261 GB, free: 176.6 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.9243, allocations: 32.45 kB / 1.261 GB, free: 176.5 MB / 1.014 GB Notification: Performance of pre-optimization done (n=17): time 1.994e-06/0.9243, allocations: 0.5 kB / 1.261 GB, free: 176.5 MB / 1.014 GB Notification: Performance of matching and sorting (n=17): time 0.0008755/0.9252, allocations: 298.4 kB / 1.261 GB, free: 176.5 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/0.9253, allocations: 53.84 kB / 1.261 GB, free: 176.4 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003373/0.9256, allocations: 322 kB / 1.261 GB, free: 176.3 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.9256, allocations: 31.08 kB / 1.261 GB, free: 176.3 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.9257, allocations: 182.2 kB / 1.262 GB, free: 176.2 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.976e-05/0.9258, allocations: 63.78 kB / 1.262 GB, free: 176.2 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.395e-05/0.9259, allocations: 45.97 kB / 1.262 GB, free: 176.1 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 6.75e-05/0.9259, allocations: 341.8 kB / 1.262 GB, free: 175.8 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.9261, allocations: 71.8 kB / 1.262 GB, free: 175.8 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.9263, allocations: 121.3 kB / 1.262 GB, free: 175.8 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003505/0.9267, allocations: 202.3 kB / 1.262 GB, free: 175.7 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.9267, allocations: 0.8438 kB / 1.262 GB, free: 175.7 MB / 1.014 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004789/0.9272, allocations: 255.5 kB / 1.263 GB, free: 175.7 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.9272, allocations: 6.312 kB / 1.263 GB, free: 175.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.9272, allocations: 1.656 kB / 1.263 GB, free: 175.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.9273, allocations: 2.5 kB / 1.263 GB, free: 175.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.9275, allocations: 51.83 kB / 1.263 GB, free: 175.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.9275, allocations: 2.594 kB / 1.263 GB, free: 175.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001998/0.9277, allocations: 32.64 kB / 1.263 GB, free: 175.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.923e-05/0.9277, allocations: 9.125 kB / 1.263 GB, free: 175.7 MB / 1.014 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.0001148/0.9278, allocations: 155.3 kB / 1.263 GB, free: 175.6 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.226e-05/0.9279, allocations: 30.31 kB / 1.263 GB, free: 175.5 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004783/0.9284, allocations: 230.2 kB / 1.263 GB, free: 175.5 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.9284, allocations: 1.344 kB / 1.263 GB, free: 175.5 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.9284, allocations: 1.422 kB / 1.263 GB, free: 175.5 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.9284, allocations: 4.172 kB / 1.263 GB, free: 175.5 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.9295, allocations: 0.7097 MB / 1.264 GB, free: 175.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.9295, allocations: 3.188 kB / 1.264 GB, free: 175.1 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.9297, allocations: 38.95 kB / 1.264 GB, free: 175.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.9297, allocations: 2.812 kB / 1.264 GB, free: 175.1 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.9297, allocations: 4.75 kB / 1.264 GB, free: 175.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.9297, allocations: 10.48 kB / 1.264 GB, free: 175.1 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.9297, allocations: 2.469 kB / 1.264 GB, free: 175.1 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006606/0.9304, allocations: 456.2 kB / 1.264 GB, free: 174.9 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.9305, allocations: 127.6 kB / 1.264 GB, free: 174.8 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.224e-05/0.9305, allocations: 6.312 kB / 1.264 GB, free: 174.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/0.9307, allocations: 16.36 kB / 1.264 GB, free: 174.8 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.62e-05/0.9308, allocations: 11.48 kB / 1.264 GB, free: 174.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.9308, allocations: 9.812 kB / 1.264 GB, free: 174.8 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002157/0.931, allocations: 231.2 kB / 1.265 GB, free: 174.7 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.51e-07/0.931, allocations: 5.906 kB / 1.265 GB, free: 174.7 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003912/0.9314, allocations: 75.62 kB / 1.265 GB, free: 174.7 MB / 1.014 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.001012/0.9324, allocations: 1.05 MB / 1.266 GB, free: 173.9 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004429/0.9329, allocations: 186.5 kB / 1.266 GB, free: 173.9 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.9329, allocations: 4.812 kB / 1.266 GB, free: 173.9 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002054/0.9331, allocations: 96.72 kB / 1.266 GB, free: 173.8 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008554/0.934, allocations: 164 kB / 1.266 GB, free: 173.8 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003321/0.9373, allocations: 3.007 MB / 1.269 GB, free: 171.8 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.9375, allocations: 0.7824 MB / 1.27 GB, free: 171.1 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002151/0.9378, allocations: 61.61 kB / 1.27 GB, free: 171.1 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.9379, allocations: 93.42 kB / 1.27 GB, free: 171.1 MB / 1.014 GB Notification: Performance of SimCode: time 7.41e-07/0.9379, allocations: 0 / 1.27 GB, free: 171.1 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.278/3.216, allocations: 9.011 MB / 1.279 GB, free: 170.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.39/17.61, allocations: 8.688 kB / 1.279 GB, free: 170.2 MB / 1.014 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_Velocity.fmu > 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