Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002094/0.002094, allocations: 79.28 kB / 19.18 MB, free: 2.516 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.002226/0.002226, allocations: 163.7 kB / 22.46 MB, free: 5.375 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.569/1.569, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.946/2.946, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Fluid.Sensors.Examples.Velocity") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.827e-05/4.02e-05, allocations: 6.219 kB / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.2213/0.2213, allocations: 147.6 MB / 1.126 GB, free: 7.766 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.003827/0.2251, allocations: 1.501 MB / 1.127 GB, free: 6.266 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004884/0.2256, allocations: 19.81 kB / 1.127 GB, free: 6.246 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006898/0.2263, allocations: 162.8 kB / 1.127 GB, free: 6.086 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002444/0.2288, allocations: 0.7112 MB / 1.128 GB, free: 5.371 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002231/0.231, allocations: 0.6694 MB / 1.129 GB, free: 4.703 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001166/0.2322, allocations: 0.7136 MB / 1.129 GB, free: 3.984 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004013/0.2326, allocations: 189.1 kB / 1.129 GB, free: 3.805 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001433/0.234, allocations: 0.6035 MB / 1.13 GB, free: 3.199 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000328/0.2343, allocations: 199.4 kB / 1.13 GB, free: 3.004 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.514e-05/0.2344, allocations: 20 kB / 1.13 GB, free: 2.984 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001652/0.236, allocations: 0.7203 MB / 1.131 GB, free: 2.262 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001743/0.2362, allocations: 115.6 kB / 1.131 GB, free: 2.148 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001927/0.2364, allocations: 127.7 kB / 1.131 GB, free: 2.023 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001358/0.2378, allocations: 0.7362 MB / 1.132 GB, free: 1.285 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.2378, allocations: 0 / 1.132 GB, free: 1.285 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.482e-06/0.2378, allocations: 3.938 kB / 1.132 GB, free: 1.281 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.506e-05/0.2378, allocations: 0 / 1.132 GB, free: 1.281 MB / 1.076 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.001209/0.239, allocations: 0.594 MB / 1.133 GB, free: 0.6562 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/0.239, allocations: 16.02 kB / 1.133 GB, free: 0.6406 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001233/0.2403, allocations: 155.6 kB / 1.133 GB, free: 500 kB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000677/0.241, allocations: 268.5 kB / 1.133 GB, free: 208 kB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/0.241, allocations: 20.5 kB / 1.133 GB, free: 188 kB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.496e-05/0.241, allocations: 27.98 kB / 1.133 GB, free: 160 kB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7401/0.9812, allocations: 278.8 kB / 1.133 GB, free: 197.6 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.9812, allocations: 0 / 1.133 GB, free: 197.6 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.973e-05/0.9812, allocations: 11.88 kB / 1.133 GB, free: 197.6 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.9812, allocations: 5.469 kB / 1.133 GB, free: 197.6 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004881/0.9817, allocations: 198.5 kB / 1.133 GB, free: 197.6 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001457/0.9832, allocations: 0.9334 MB / 1.134 GB, free: 197.1 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002865/0.9835, allocations: 136.6 kB / 1.134 GB, free: 197 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001666/0.9836, allocations: 92.84 kB / 1.135 GB, free: 197 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005062/0.9841, allocations: 83.97 kB / 1.135 GB, free: 197 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.9842, allocations: 34.47 kB / 1.135 GB, free: 197 MB / 1.076 GB Notification: Performance of pre-optimization done (n=17): time 1.703e-06/0.9842, allocations: 0 / 1.135 GB, free: 197 MB / 1.076 GB Notification: Performance of matching and sorting (n=17): time 0.0008806/0.985, allocations: 289.2 kB / 1.135 GB, free: 196.8 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.9851, allocations: 54.47 kB / 1.135 GB, free: 196.8 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002207/0.9853, allocations: 255.1 kB / 1.135 GB, free: 196.6 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.9853, allocations: 29.7 kB / 1.135 GB, free: 196.6 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.9854, allocations: 188.7 kB / 1.135 GB, free: 196.5 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.734e-05/0.9855, allocations: 62.25 kB / 1.136 GB, free: 196.4 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.017e-05/0.9855, allocations: 42.72 kB / 1.136 GB, free: 196.4 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.993e-05/0.9856, allocations: 337.5 kB / 1.136 GB, free: 196.1 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.9858, allocations: 71.09 kB / 1.136 GB, free: 196 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002036/0.986, allocations: 210.3 kB / 1.136 GB, free: 195.9 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003274/0.9863, allocations: 198.7 kB / 1.136 GB, free: 195.8 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.9863, allocations: 0 / 1.136 GB, free: 195.8 MB / 1.076 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000432/0.9867, allocations: 245.7 kB / 1.137 GB, free: 195.7 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.9867, allocations: 7.031 kB / 1.137 GB, free: 195.7 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.9868, allocations: 6.812 kB / 1.137 GB, free: 195.7 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.9868, allocations: 2.438 kB / 1.137 GB, free: 195.7 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.987, allocations: 49.59 kB / 1.137 GB, free: 195.7 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.987, allocations: 2.938 kB / 1.137 GB, free: 195.7 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002009/0.9872, allocations: 24.94 kB / 1.137 GB, free: 195.7 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.345e-05/0.9872, allocations: 12 kB / 1.137 GB, free: 195.7 MB / 1.076 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.0001275/0.9874, allocations: 150.8 kB / 1.137 GB, free: 195.5 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.703e-05/0.9874, allocations: 29.05 kB / 1.137 GB, free: 195.5 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004551/0.9879, allocations: 231.2 kB / 1.137 GB, free: 195.4 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.9879, allocations: 0 / 1.137 GB, free: 195.4 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.9879, allocations: 0 / 1.137 GB, free: 195.4 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.9879, allocations: 5.75 kB / 1.137 GB, free: 195.4 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009098/0.9888, allocations: 0.618 MB / 1.138 GB, free: 195 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.9888, allocations: 5.844 kB / 1.138 GB, free: 195 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001683/0.989, allocations: 41.69 kB / 1.138 GB, free: 195 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.989, allocations: 2.844 kB / 1.138 GB, free: 195 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.989, allocations: 2.844 kB / 1.138 GB, free: 195 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.989, allocations: 2.625 kB / 1.138 GB, free: 195 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.989, allocations: 2.5 kB / 1.138 GB, free: 195 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005743/0.9896, allocations: 453.2 kB / 1.138 GB, free: 194.7 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.197e-05/0.9896, allocations: 39.42 kB / 1.138 GB, free: 194.7 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.249e-05/0.9897, allocations: 6.969 kB / 1.138 GB, free: 194.7 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.9898, allocations: 12.89 kB / 1.138 GB, free: 194.7 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.334e-05/0.9899, allocations: 23.39 kB / 1.138 GB, free: 194.7 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.9899, allocations: 5.719 kB / 1.138 GB, free: 194.7 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001322/0.99, allocations: 186 kB / 1.138 GB, free: 194.6 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.99, allocations: 2.938 kB / 1.138 GB, free: 194.6 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004032/0.9904, allocations: 96.72 kB / 1.139 GB, free: 194.6 MB / 1.076 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.0003024/0.9907, allocations: 146.2 kB / 1.139 GB, free: 194.5 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004113/0.9912, allocations: 181.1 kB / 1.139 GB, free: 194.4 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.9912, allocations: 0 / 1.139 GB, free: 194.4 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000173/0.9913, allocations: 90.95 kB / 1.139 GB, free: 194.4 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007441/0.9921, allocations: 127.6 kB / 1.139 GB, free: 194.3 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009611/0.993, allocations: 0.5849 MB / 1.14 GB, free: 194 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/0.9932, allocations: 176.9 kB / 1.14 GB, free: 193.9 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001497/0.9933, allocations: 54.69 kB / 1.14 GB, free: 193.9 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.337e-05/0.9934, allocations: 26.36 kB / 1.14 GB, free: 193.9 MB / 1.076 GB Notification: Performance of SimCode: time 4.61e-07/0.9934, allocations: 0 / 1.14 GB, free: 193.9 MB / 1.076 GB Notification: Performance of Templates: time 0.01085/1.004, allocations: 4.814 MB / 1.145 GB, free: 193.4 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_Velocity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.911854863166809]