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.001608/0.001608, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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.002494/0.002494, allocations: 215.8 kB / 23.01 MB, free: 4.566 MB / 14.72 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 1.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.728/2.728, allocations: 476.7 MB / 0.7714 GB, free: 4.293 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senDyn.port_a.m_flow|senDyn.v|senSteSta.v",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity") translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senDyn.port_a.m_flow|senDyn.v|senSteSta.v",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 67.58 kB / 1.119 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.355, allocations: 170 MB / 1.285 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.2154/0.5703, allocations: 171 MB / 1.452 GB, free: 15.52 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.00328/0.5736, allocations: 1.57 MB / 1.453 GB, free: 13.95 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004539/0.5741, allocations: 19.81 kB / 1.453 GB, free: 13.93 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0005751/0.5746, allocations: 154.9 kB / 1.453 GB, free: 13.77 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002009/0.5767, allocations: 0.7468 MB / 1.454 GB, free: 13.02 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001774/0.5784, allocations: 0.6343 MB / 1.455 GB, free: 12.39 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001072/0.5795, allocations: 0.7332 MB / 1.455 GB, free: 11.65 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003821/0.5799, allocations: 193 kB / 1.456 GB, free: 11.46 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007377/0.5806, allocations: 358.7 kB / 1.456 GB, free: 11.11 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003517/0.581, allocations: 247 kB / 1.456 GB, free: 10.87 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 4.821e-05/0.581, allocations: 24 kB / 1.456 GB, free: 10.84 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001886/0.5829, allocations: 0.9507 MB / 1.457 GB, free: 9.891 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001659/0.5831, allocations: 119.6 kB / 1.457 GB, free: 9.773 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.000214/0.5833, allocations: 163.2 kB / 1.457 GB, free: 9.613 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001467/0.5848, allocations: 0.7397 MB / 1.458 GB, free: 8.871 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.5848, allocations: 0 / 1.458 GB, free: 8.871 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.054e-06/0.5848, allocations: 0 / 1.458 GB, free: 8.871 MB / 1.154 GB Notification: Performance of Transformations before backend: time 8.205e-06/0.5848, allocations: 0 / 1.458 GB, free: 8.871 MB / 1.154 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.001031/0.5858, allocations: 0.6018 MB / 1.459 GB, free: 8.238 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.5858, allocations: 8.031 kB / 1.459 GB, free: 8.23 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/0.587, allocations: 155.6 kB / 1.459 GB, free: 8.078 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005861/0.5875, allocations: 268.4 kB / 1.459 GB, free: 7.789 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.5876, allocations: 20.5 kB / 1.459 GB, free: 7.77 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.405e-05/0.5876, allocations: 27.94 kB / 1.459 GB, free: 7.742 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005267/0.5881, allocations: 285 kB / 1.459 GB, free: 7.441 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.5882, allocations: 3.938 kB / 1.459 GB, free: 7.438 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.558e-05/0.5882, allocations: 12 kB / 1.459 GB, free: 7.426 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.5882, allocations: 4 kB / 1.459 GB, free: 7.422 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00042/0.5886, allocations: 200.9 kB / 1.46 GB, free: 7.227 MB / 1.154 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.001543/0.5902, allocations: 1.184 MB / 1.461 GB, free: 5.945 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003112/0.5905, allocations: 158.3 kB / 1.461 GB, free: 5.781 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001968/0.5907, allocations: 84.81 kB / 1.461 GB, free: 5.695 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004844/0.5911, allocations: 67.91 kB / 1.461 GB, free: 5.629 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.5912, allocations: 42.56 kB / 1.461 GB, free: 5.578 MB / 1.154 GB Notification: Performance of pre-optimization done (n=17): time 2.154e-06/0.5912, allocations: 0 / 1.461 GB, free: 5.578 MB / 1.154 GB Notification: Performance of matching and sorting (n=17): time 0.0008208/0.592, allocations: 287.7 kB / 1.461 GB, free: 5.293 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.592, allocations: 55.31 kB / 1.461 GB, free: 5.227 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003628/0.5924, allocations: 320.5 kB / 1.462 GB, free: 4.906 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.5924, allocations: 33.7 kB / 1.462 GB, free: 4.867 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.5926, allocations: 200.1 kB / 1.462 GB, free: 4.668 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 5.867e-05/0.5927, allocations: 55.48 kB / 1.462 GB, free: 4.613 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.754e-05/0.5928, allocations: 49.66 kB / 1.462 GB, free: 4.559 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001877/0.5929, allocations: 342.8 kB / 1.462 GB, free: 4.215 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.5931, allocations: 67.95 kB / 1.462 GB, free: 4.148 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002133/0.5933, allocations: 129 kB / 1.463 GB, free: 4.004 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003599/0.5937, allocations: 199 kB / 1.463 GB, free: 3.793 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.5937, allocations: 7.938 kB / 1.463 GB, free: 3.785 MB / 1.154 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004954/0.5942, allocations: 257.2 kB / 1.463 GB, free: 3.527 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.5942, allocations: 4 kB / 1.463 GB, free: 3.523 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.5942, allocations: 4 kB / 1.463 GB, free: 3.52 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.5942, allocations: 4 kB / 1.463 GB, free: 3.516 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/0.5945, allocations: 47.91 kB / 1.463 GB, free: 3.469 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.5945, allocations: 0 / 1.463 GB, free: 3.469 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002186/0.5947, allocations: 39.86 kB / 1.463 GB, free: 3.43 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.907e-05/0.5947, allocations: 8 kB / 1.463 GB, free: 3.422 MB / 1.154 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.0001682/0.5949, allocations: 154.2 kB / 1.463 GB, free: 3.262 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.795e-05/0.5949, allocations: 31.81 kB / 1.463 GB, free: 3.23 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005128/0.5955, allocations: 228.6 kB / 1.464 GB, free: 2.996 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.5955, allocations: 0 / 1.464 GB, free: 2.996 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.5955, allocations: 4 kB / 1.464 GB, free: 2.992 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.5955, allocations: 4 kB / 1.464 GB, free: 2.988 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/0.5966, allocations: 0.6748 MB / 1.464 GB, free: 2.242 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.5966, allocations: 4 kB / 1.464 GB, free: 2.238 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001758/0.5968, allocations: 35.92 kB / 1.464 GB, free: 2.203 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.5968, allocations: 0 / 1.464 GB, free: 2.203 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.5968, allocations: 8 kB / 1.464 GB, free: 2.195 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.985e-06/0.5968, allocations: 11.92 kB / 1.464 GB, free: 2.184 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.5968, allocations: 3.938 kB / 1.464 GB, free: 2.18 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000699/0.5975, allocations: 456.2 kB / 1.465 GB, free: 1.699 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.5976, allocations: 51.78 kB / 1.465 GB, free: 1.648 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.535e-05/0.5977, allocations: 4 kB / 1.465 GB, free: 1.645 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.5978, allocations: 15.92 kB / 1.465 GB, free: 1.629 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.636e-05/0.5979, allocations: 15.92 kB / 1.465 GB, free: 1.613 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.5979, allocations: 12.08 kB / 1.465 GB, free: 1.602 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002557/0.5982, allocations: 239 kB / 1.465 GB, free: 1.367 MB / 1.154 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5982, allocations: 0 / 1.465 GB, free: 1.367 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0004301/0.5986, allocations: 83.88 kB / 1.465 GB, free: 1.285 MB / 1.154 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.0002881/0.5989, allocations: 147 kB / 1.465 GB, free: 1.129 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0004442/0.5993, allocations: 175.9 kB / 1.465 GB, free: 0.957 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.5993, allocations: 4.062 kB / 1.465 GB, free: 0.9531 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001951/0.5995, allocations: 87.81 kB / 1.466 GB, free: 0.8672 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008741/0.6004, allocations: 180.6 kB / 1.466 GB, free: 0.6953 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.6016, allocations: 0.6625 MB / 1.466 GB, free: 15.98 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004381/0.602, allocations: 0.7795 MB / 1.467 GB, free: 15.18 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.364e-05/0.6021, allocations: 27.44 kB / 1.467 GB, free: 15.15 MB / 1.17 GB Notification: Performance of SimCode: time 4.41e-07/0.6021, allocations: 0 / 1.467 GB, free: 15.15 MB / 1.17 GB Notification: Performance of Templates: time 0.008654/0.6108, allocations: 4.975 MB / 1.472 GB, free: 10.23 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.384533276985167]