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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8888/0.8888, allocations: 177.2 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.649/1.649, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 3.938 kB / 0.9505 GB, free: 3.477 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.431e-05/2.644e-05, allocations: 5.094 kB / 0.9505 GB, free: 3.473 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.6718/0.6718, allocations: 147.6 MB / 1.095 GB, free: 38.82 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.002366/0.6742, allocations: 1.503 MB / 1.096 GB, free: 38.62 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002695/0.6744, allocations: 16.28 kB / 1.096 GB, free: 38.62 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005392/0.675, allocations: 152.8 kB / 1.096 GB, free: 38.54 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001791/0.6768, allocations: 0.7255 MB / 1.097 GB, free: 38.34 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001434/0.6782, allocations: 0.6633 MB / 1.098 GB, free: 38.13 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0007498/0.679, allocations: 0.7304 MB / 1.098 GB, free: 37.87 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003128/0.6793, allocations: 193.1 kB / 1.099 GB, free: 37.79 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006225/0.6799, allocations: 454.1 kB / 1.099 GB, free: 37.62 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002082/0.6801, allocations: 201.6 kB / 1.099 GB, free: 37.59 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 4.191e-05/0.6801, allocations: 23.16 kB / 1.099 GB, free: 37.59 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001356/0.6815, allocations: 0.7307 MB / 1.1 GB, free: 37.4 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001428/0.6816, allocations: 120.8 kB / 1.1 GB, free: 37.35 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.6818, allocations: 118.8 kB / 1.1 GB, free: 37.31 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001258/0.683, allocations: 0.7462 MB / 1.101 GB, free: 37.12 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.683, allocations: 0 / 1.101 GB, free: 37.12 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.344e-06/0.683, allocations: 1 kB / 1.101 GB, free: 37.12 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 7.665e-06/0.683, allocations: 0 / 1.101 GB, free: 37.12 MB / 0.9948 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.0008789/0.6839, allocations: 0.5955 MB / 1.101 GB, free: 36.66 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.684, allocations: 9.125 kB / 1.101 GB, free: 36.66 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.95e-05/0.684, allocations: 56.06 kB / 1.101 GB, free: 36.61 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007589/0.6848, allocations: 159.5 kB / 1.102 GB, free: 36.58 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006055/0.6854, allocations: 263.2 kB / 1.102 GB, free: 36.39 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.629e-05/0.6854, allocations: 18.16 kB / 1.102 GB, free: 36.38 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.008e-05/0.6855, allocations: 28.22 kB / 1.102 GB, free: 36.37 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005529/0.686, allocations: 282.4 kB / 1.102 GB, free: 36.22 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.6861, allocations: 5.172 kB / 1.102 GB, free: 36.21 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.314e-05/0.6861, allocations: 6.688 kB / 1.102 GB, free: 36.21 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.805e-05/0.6861, allocations: 5.5 kB / 1.102 GB, free: 36.21 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004641/0.6866, allocations: 200.1 kB / 1.102 GB, free: 36.16 MB / 0.9948 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.001049/0.6876, allocations: 0.9931 MB / 1.103 GB, free: 35.41 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002261/0.6878, allocations: 148.9 kB / 1.104 GB, free: 35.34 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.688, allocations: 85.25 kB / 1.104 GB, free: 35.31 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003077/0.6883, allocations: 75.44 kB / 1.104 GB, free: 35.3 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.676e-05/0.6883, allocations: 40.03 kB / 1.104 GB, free: 35.26 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=17): time 2.935e-06/0.6883, allocations: 0 / 1.104 GB, free: 35.26 MB / 0.9948 GB Notification: Performance of matching and sorting (n=17): time 0.0005573/0.6888, allocations: 292.5 kB / 1.104 GB, free: 35.15 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/0.6889, allocations: 58.77 kB / 1.104 GB, free: 35.09 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/0.6891, allocations: 329.6 kB / 1.104 GB, free: 34.91 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.6891, allocations: 31.11 kB / 1.104 GB, free: 34.88 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.6892, allocations: 180.2 kB / 1.105 GB, free: 34.73 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.635e-05/0.6893, allocations: 65.25 kB / 1.105 GB, free: 34.68 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.087e-05/0.6893, allocations: 46.84 kB / 1.105 GB, free: 34.64 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 5.486e-05/0.6894, allocations: 340.8 kB / 1.105 GB, free: 34.32 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.6895, allocations: 69.67 kB / 1.105 GB, free: 34.3 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.6897, allocations: 202 kB / 1.105 GB, free: 34.14 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002351/0.6899, allocations: 204.4 kB / 1.105 GB, free: 34.03 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/0.6899, allocations: 1.062 kB / 1.105 GB, free: 34.03 MB / 0.9948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003182/0.6902, allocations: 257.8 kB / 1.106 GB, free: 33.91 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.6902, allocations: 9.062 kB / 1.106 GB, free: 33.91 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.6902, allocations: 1.188 kB / 1.106 GB, free: 33.91 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.6903, allocations: 4.297 kB / 1.106 GB, free: 33.91 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.6904, allocations: 44.52 kB / 1.106 GB, free: 33.91 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.6904, allocations: 3.484 kB / 1.106 GB, free: 33.91 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.6905, allocations: 30.59 kB / 1.106 GB, free: 33.89 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.499e-05/0.6906, allocations: 7.844 kB / 1.106 GB, free: 33.89 MB / 0.9948 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 9.333e-05/0.6907, allocations: 157.4 kB / 1.106 GB, free: 33.75 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.588e-05/0.6907, allocations: 38.53 kB / 1.106 GB, free: 33.73 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003688/0.6911, allocations: 232.2 kB / 1.106 GB, free: 33.62 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.6911, allocations: 5.484 kB / 1.106 GB, free: 33.62 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.6911, allocations: 5.656 kB / 1.106 GB, free: 33.62 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.6911, allocations: 1.984 kB / 1.106 GB, free: 33.62 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007731/0.6918, allocations: 0.6505 MB / 1.107 GB, free: 33.17 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.6919, allocations: 2.984 kB / 1.107 GB, free: 33.17 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.692, allocations: 36.38 kB / 1.107 GB, free: 33.17 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.692, allocations: 2.312 kB / 1.107 GB, free: 33.17 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.692, allocations: 7.5 kB / 1.107 GB, free: 33.16 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.692, allocations: 6.719 kB / 1.107 GB, free: 33.16 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.692, allocations: 3.094 kB / 1.107 GB, free: 33.16 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000438/0.6924, allocations: 452.2 kB / 1.107 GB, free: 32.88 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.563e-05/0.6925, allocations: 50.48 kB / 1.107 GB, free: 32.85 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.861e-05/0.6925, allocations: 7.797 kB / 1.107 GB, free: 32.84 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.616e-05/0.6926, allocations: 12.14 kB / 1.107 GB, free: 32.84 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.732e-05/0.6927, allocations: 20.95 kB / 1.107 GB, free: 32.83 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.6927, allocations: 10.31 kB / 1.107 GB, free: 32.83 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001646/0.6929, allocations: 228.8 kB / 1.108 GB, free: 32.71 MB / 0.9948 GB Notification: Performance of sort global known variables: time 9e-08/0.6929, allocations: 96 / 1.108 GB, free: 32.71 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003454/0.6932, allocations: 90.52 kB / 1.108 GB, free: 32.69 MB / 0.9948 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.0006995/0.6939, allocations: 1.022 MB / 1.109 GB, free: 31.87 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0003033/0.6942, allocations: 181.1 kB / 1.109 GB, free: 31.82 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.145e-06/0.6942, allocations: 0 / 1.109 GB, free: 31.82 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.6943, allocations: 90.91 kB / 1.109 GB, free: 31.79 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005959/0.6949, allocations: 168.8 kB / 1.109 GB, free: 31.75 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002566/0.6975, allocations: 2.973 MB / 1.112 GB, free: 29.79 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/0.6976, allocations: 178.1 kB / 1.112 GB, free: 29.7 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0002206/0.6978, allocations: 69.97 kB / 1.112 GB, free: 29.68 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.698, allocations: 93.95 kB / 1.112 GB, free: 29.62 MB / 0.9948 GB Notification: Performance of SimCode: time 9.72e-07/0.698, allocations: 0 / 1.112 GB, free: 29.62 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02988/0.7278, allocations: 10.28 MB / 1.122 GB, free: 28.01 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.197/7.925, allocations: 13.02 kB / 1.122 GB, free: 28 MB / 0.9948 GB " [Timeout remaining time 292] (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 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_Velocity.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 420.0] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.93241882417351]