Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_11_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.005885/0.005885, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001683/0.001683, allocations: 201.5 kB / 16.68 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.238/1.238, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.448/2.448, allocations: 469.8 MB / 0.7425 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001677/0.001677, allocations: 64.11 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2414, allocations: 159.1 MB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.6075/0.849, allocations: 167.4 MB / 1.384 GB, free: 2.629 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002226/0.8513, allocations: 1.571 MB / 1.385 GB, free: 1.348 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/0.8514, allocations: 11.53 kB / 1.385 GB, free: 1.344 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0003701/0.8518, allocations: 151.6 kB / 1.385 GB, free: 1.211 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001258/0.8531, allocations: 0.709 MB / 1.386 GB, free: 0.6719 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.8542, allocations: 0.5933 MB / 1.387 GB, free: 244 kB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0006668/0.8549, allocations: 0.7162 MB / 1.387 GB, free: 15.82 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003063/0.8552, allocations: 230.7 kB / 1.388 GB, free: 15.69 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004846/0.8557, allocations: 354.7 kB / 1.388 GB, free: 15.48 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002445/0.8559, allocations: 221.9 kB / 1.388 GB, free: 15.36 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 3.763e-05/0.856, allocations: 23.66 kB / 1.388 GB, free: 15.36 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001144/0.8571, allocations: 0.8716 MB / 1.389 GB, free: 14.86 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.8573, allocations: 113.5 kB / 1.389 GB, free: 14.78 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001549/0.8574, allocations: 164.6 kB / 1.389 GB, free: 14.68 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0008766/0.8583, allocations: 0.7426 MB / 1.39 GB, free: 14.24 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.8583, allocations: 4 kB / 1.39 GB, free: 14.23 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.062e-06/0.8583, allocations: 0 / 1.39 GB, free: 14.23 MB / 1.092 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.8583, allocations: 1.125 kB / 1.39 GB, free: 14.23 MB / 1.092 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.0008244/0.8592, allocations: 0.667 MB / 1.391 GB, free: 13.64 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.007e-05/0.8592, allocations: 9.406 kB / 1.391 GB, free: 13.64 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.852e-05/0.8593, allocations: 54.3 kB / 1.391 GB, free: 13.59 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009781/0.8602, allocations: 161.5 kB / 1.391 GB, free: 13.51 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004444/0.8607, allocations: 335.9 kB / 1.391 GB, free: 13.2 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.8607, allocations: 15 kB / 1.391 GB, free: 13.19 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.793e-05/0.8608, allocations: 30.81 kB / 1.391 GB, free: 13.18 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004323/0.8612, allocations: 285.1 kB / 1.391 GB, free: 12.98 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.8612, allocations: 0 / 1.391 GB, free: 12.98 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.211e-05/0.8613, allocations: 14.61 kB / 1.391 GB, free: 12.97 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.8613, allocations: 5.906 kB / 1.391 GB, free: 12.97 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003839/0.8617, allocations: 206.2 kB / 1.392 GB, free: 12.88 MB / 1.092 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.001247/0.8629, allocations: 1.222 MB / 1.393 GB, free: 11.75 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002605/0.8632, allocations: 157.7 kB / 1.393 GB, free: 11.66 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001682/0.8634, allocations: 94.92 kB / 1.393 GB, free: 11.61 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005159/0.8639, allocations: 302.7 kB / 1.393 GB, free: 11.3 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.8639, allocations: 31.62 kB / 1.393 GB, free: 11.26 MB / 1.092 GB Notification: Performance of pre-optimization done (n=17): time 1.243e-06/0.8639, allocations: 0 / 1.393 GB, free: 11.26 MB / 1.092 GB Notification: Performance of matching and sorting (n=17): time 0.0007016/0.8646, allocations: 295.2 kB / 1.394 GB, free: 11.11 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.8647, allocations: 61.58 kB / 1.394 GB, free: 11.04 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003173/0.865, allocations: 324.7 kB / 1.394 GB, free: 10.83 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.865, allocations: 30.89 kB / 1.394 GB, free: 10.8 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.8652, allocations: 184.6 kB / 1.394 GB, free: 10.63 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 4.784e-05/0.8652, allocations: 58.67 kB / 1.394 GB, free: 10.58 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.192e-05/0.8653, allocations: 47.86 kB / 1.394 GB, free: 10.54 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.8655, allocations: 342.3 kB / 1.395 GB, free: 10.21 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/0.8656, allocations: 69.34 kB / 1.395 GB, free: 10.18 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002077/0.8659, allocations: 124.1 kB / 1.395 GB, free: 10.09 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000339/0.8662, allocations: 199.8 kB / 1.395 GB, free: 9.957 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.8662, allocations: 3.938 kB / 1.395 GB, free: 9.953 MB / 1.092 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000438/0.8667, allocations: 260.4 kB / 1.395 GB, free: 9.809 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.8667, allocations: 9.781 kB / 1.395 GB, free: 9.805 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.8667, allocations: 1.938 kB / 1.395 GB, free: 9.805 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.8667, allocations: 2.281 kB / 1.395 GB, free: 9.805 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/0.8669, allocations: 39.95 kB / 1.395 GB, free: 9.801 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.8669, allocations: 6.516 kB / 1.395 GB, free: 9.797 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/0.8671, allocations: 34.22 kB / 1.395 GB, free: 9.773 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.86e-05/0.8671, allocations: 15.77 kB / 1.395 GB, free: 9.766 MB / 1.092 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.0001272/0.8673, allocations: 147.4 kB / 1.396 GB, free: 9.629 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.184e-05/0.8673, allocations: 38.36 kB / 1.396 GB, free: 9.605 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004378/0.8678, allocations: 229.1 kB / 1.396 GB, free: 9.469 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.8678, allocations: 1.406 kB / 1.396 GB, free: 9.469 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.8678, allocations: 1.281 kB / 1.396 GB, free: 9.469 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.8678, allocations: 4.547 kB / 1.396 GB, free: 9.465 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009595/0.8688, allocations: 0.7096 MB / 1.397 GB, free: 8.867 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.8688, allocations: 2.281 kB / 1.397 GB, free: 8.867 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/0.8689, allocations: 30.95 kB / 1.397 GB, free: 8.863 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.8689, allocations: 7.469 kB / 1.397 GB, free: 8.859 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.869, allocations: 7.375 kB / 1.397 GB, free: 8.855 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/0.869, allocations: 10.22 kB / 1.397 GB, free: 8.848 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.869, allocations: 2.281 kB / 1.397 GB, free: 8.848 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006225/0.8696, allocations: 447.5 kB / 1.397 GB, free: 8.52 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.8697, allocations: 128.2 kB / 1.397 GB, free: 8.391 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.298e-05/0.8698, allocations: 7.312 kB / 1.397 GB, free: 8.387 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.8699, allocations: 13.11 kB / 1.397 GB, free: 8.379 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/0.87, allocations: 23.42 kB / 1.397 GB, free: 8.367 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.87, allocations: 6.062 kB / 1.397 GB, free: 8.367 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.000213/0.8702, allocations: 233.6 kB / 1.397 GB, free: 8.215 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8702, allocations: 0 / 1.397 GB, free: 8.215 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0003392/0.8706, allocations: 80.77 kB / 1.398 GB, free: 8.203 MB / 1.092 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.001133/0.8717, allocations: 1.056 MB / 1.399 GB, free: 7.297 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0003849/0.8721, allocations: 190.8 kB / 1.399 GB, free: 7.211 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.8721, allocations: 0 / 1.399 GB, free: 7.211 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001751/0.8723, allocations: 90.89 kB / 1.399 GB, free: 7.172 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007683/0.8731, allocations: 167.9 kB / 1.399 GB, free: 7.098 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003379/0.8765, allocations: 3.02 MB / 1.402 GB, free: 4.84 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003777/0.8769, allocations: 0.779 MB / 1.403 GB, free: 4.102 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0001969/0.8771, allocations: 71.55 kB / 1.403 GB, free: 4.07 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.8772, allocations: 92.66 kB / 1.403 GB, free: 3.996 MB / 1.092 GB Notification: Performance of SimCode: time 2.11e-07/0.8772, allocations: 0 / 1.403 GB, free: 3.996 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.171/5.048, allocations: 9.009 MB / 1.412 GB, free: 15.54 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/16.94, allocations: 9.547 kB / 1.412 GB, free: 15.53 MB / 1.107 GB (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_Velocity.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_Velocity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches