Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002423/0.002423, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 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.002963/0.002963, allocations: 177.2 kB / 22.76 MB, free: 1.66 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 1.562/1.562, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.443/3.443, allocations: 429.5 MB / 0.6729 GB, free: 4.008 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Sensors.Examples.Velocity") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 0.8775 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.708e-05/2.903e-05, allocations: 7.188 kB / 0.8775 GB, free: 6.488 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.2354/0.2355, allocations: 163.6 MB / 1.037 GB, free: 2.297 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.003459/0.2389, allocations: 1.565 MB / 1.039 GB, free: 0.7305 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003192/0.2392, allocations: 15.88 kB / 1.039 GB, free: 0.7148 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006118/0.2399, allocations: 162.7 kB / 1.039 GB, free: 0.5547 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002049/0.2419, allocations: 0.7073 MB / 1.04 GB, free: 15.84 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001957/0.2439, allocations: 0.6579 MB / 1.04 GB, free: 15.18 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001089/0.2449, allocations: 0.698 MB / 1.041 GB, free: 14.48 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003813/0.2453, allocations: 193.4 kB / 1.041 GB, free: 14.29 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001425/0.2468, allocations: 0.588 MB / 1.042 GB, free: 13.7 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000338/0.2471, allocations: 199.4 kB / 1.042 GB, free: 13.51 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 6.687e-05/0.2472, allocations: 24 kB / 1.042 GB, free: 13.48 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001416/0.2486, allocations: 0.7204 MB / 1.043 GB, free: 12.76 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001701/0.2487, allocations: 123.6 kB / 1.043 GB, free: 12.64 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001777/0.2489, allocations: 123.6 kB / 1.043 GB, free: 12.52 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001311/0.2502, allocations: 0.7401 MB / 1.044 GB, free: 11.78 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2502, allocations: 0 / 1.044 GB, free: 11.78 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2502, allocations: 0 / 1.044 GB, free: 11.78 MB / 1.01 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.2502, allocations: 0 / 1.044 GB, free: 11.78 MB / 1.01 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.001196/0.2514, allocations: 0.7052 MB / 1.044 GB, free: 11.04 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.2515, allocations: 12.03 kB / 1.044 GB, free: 11.02 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001266/0.2528, allocations: 211.1 kB / 1.045 GB, free: 10.82 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005387/0.2533, allocations: 267.4 kB / 1.045 GB, free: 10.53 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.773e-05/0.2533, allocations: 16.5 kB / 1.045 GB, free: 10.51 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.98e-05/0.2534, allocations: 24 kB / 1.045 GB, free: 10.49 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005273/0.2539, allocations: 275.1 kB / 1.045 GB, free: 10.2 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.2539, allocations: 0 / 1.045 GB, free: 10.2 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.903e-05/0.2539, allocations: 8 kB / 1.045 GB, free: 10.19 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.956e-06/0.254, allocations: 4 kB / 1.045 GB, free: 10.18 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003904/0.2543, allocations: 153 kB / 1.045 GB, free: 10.04 MB / 1.01 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.001747/0.2561, allocations: 1.205 MB / 1.046 GB, free: 8.773 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002906/0.2564, allocations: 123 kB / 1.047 GB, free: 8.641 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001518/0.2565, allocations: 75.58 kB / 1.047 GB, free: 8.562 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004601/0.257, allocations: 59.94 kB / 1.047 GB, free: 8.504 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/0.257, allocations: 45.39 kB / 1.047 GB, free: 8.449 MB / 1.01 GB Notification: Performance of pre-optimization done (n=17): time 1.153e-06/0.257, allocations: 0 / 1.047 GB, free: 8.449 MB / 1.01 GB Notification: Performance of matching and sorting (n=17): time 0.0007616/0.2578, allocations: 244.2 kB / 1.047 GB, free: 8.207 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/0.2578, allocations: 59.41 kB / 1.047 GB, free: 8.137 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003734/0.2582, allocations: 328.3 kB / 1.047 GB, free: 7.801 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/0.2583, allocations: 29.7 kB / 1.047 GB, free: 7.766 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002208/0.2585, allocations: 242.9 kB / 1.048 GB, free: 7.523 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 7.747e-05/0.2586, allocations: 79.39 kB / 1.048 GB, free: 7.445 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.2587, allocations: 55.36 kB / 1.048 GB, free: 7.383 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0003059/0.259, allocations: 0.5157 MB / 1.048 GB, free: 6.855 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.2591, allocations: 51.97 kB / 1.048 GB, free: 6.805 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004091/0.2595, allocations: 206.1 kB / 1.048 GB, free: 6.562 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000352/0.2599, allocations: 178 kB / 1.049 GB, free: 6.363 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.2599, allocations: 4 kB / 1.049 GB, free: 6.359 MB / 1.01 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004636/0.2603, allocations: 221.3 kB / 1.049 GB, free: 6.137 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.2604, allocations: 11.94 kB / 1.049 GB, free: 6.125 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.2604, allocations: 3.938 kB / 1.049 GB, free: 6.121 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/0.2604, allocations: 7.984 kB / 1.049 GB, free: 6.113 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/0.2606, allocations: 35.98 kB / 1.049 GB, free: 6.078 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.2606, allocations: 4 kB / 1.049 GB, free: 6.074 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/0.2608, allocations: 23.83 kB / 1.049 GB, free: 6.051 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.36e-05/0.2608, allocations: 8 kB / 1.049 GB, free: 6.043 MB / 1.01 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.0001904/0.261, allocations: 188.6 kB / 1.049 GB, free: 5.848 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.928e-05/0.261, allocations: 27.86 kB / 1.049 GB, free: 5.82 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000462/0.2615, allocations: 203.5 kB / 1.049 GB, free: 5.613 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.2615, allocations: 4 kB / 1.049 GB, free: 5.609 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.2615, allocations: 0 / 1.049 GB, free: 5.609 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.2615, allocations: 0 / 1.049 GB, free: 5.609 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/0.2627, allocations: 0.6783 MB / 1.05 GB, free: 4.859 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.2627, allocations: 0 / 1.05 GB, free: 4.859 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/0.2629, allocations: 31.98 kB / 1.05 GB, free: 4.828 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.2629, allocations: 4 kB / 1.05 GB, free: 4.824 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.2629, allocations: 4 kB / 1.05 GB, free: 4.82 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.2629, allocations: 4 kB / 1.05 GB, free: 4.816 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.2629, allocations: 7.875 kB / 1.05 GB, free: 4.809 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007042/0.2636, allocations: 467.9 kB / 1.05 GB, free: 4.305 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.2637, allocations: 31.84 kB / 1.05 GB, free: 4.273 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.14e-05/0.2638, allocations: 8 kB / 1.051 GB, free: 4.266 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.2639, allocations: 4 kB / 1.051 GB, free: 4.262 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.046e-05/0.264, allocations: 27.91 kB / 1.051 GB, free: 4.234 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.264, allocations: 4 kB / 1.051 GB, free: 4.23 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002269/0.2642, allocations: 229.1 kB / 1.051 GB, free: 4.008 MB / 1.01 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2642, allocations: 0 / 1.051 GB, free: 4.008 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0004392/0.2647, allocations: 95.78 kB / 1.051 GB, free: 3.914 MB / 1.01 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.0003391/0.265, allocations: 155.2 kB / 1.051 GB, free: 3.754 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004222/0.2654, allocations: 159.5 kB / 1.051 GB, free: 3.594 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2654, allocations: 0 / 1.051 GB, free: 3.594 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001793/0.2656, allocations: 83.52 kB / 1.051 GB, free: 3.508 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007641/0.2664, allocations: 112.5 kB / 1.051 GB, free: 3.398 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.2675, allocations: 0.5982 MB / 1.052 GB, free: 2.738 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002076/0.2677, allocations: 163.5 kB / 1.052 GB, free: 2.559 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001665/0.2679, allocations: 54.23 kB / 1.052 GB, free: 2.504 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.797e-05/0.2679, allocations: 20.5 kB / 1.052 GB, free: 2.484 MB / 1.01 GB Notification: Performance of SimCode: time 4.51e-07/0.2679, allocations: 0 / 1.052 GB, free: 2.484 MB / 1.01 GB Notification: Performance of Templates: time 0.4034/0.6714, allocations: 4.717 MB / 1.057 GB, free: 221.8 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_Velocity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.466219460009597]