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.001911/0.001911, allocations: 80.2 kB / 19.18 MB, free: 2.527 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.002419/0.002419, allocations: 173.4 kB / 22.46 MB, free: 5.355 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.498/1.498, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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 2.823/2.823, allocations: 359 MB / 0.6037 GB, free: 15 MB / 0.5762 GB " [Timeout remaining time 176] 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: 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: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.951 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.948e-05/3.148e-05, allocations: 2.281 kB / 0.951 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.2172/0.2173, allocations: 147.6 MB / 1.095 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003383/0.2207, allocations: 1.492 MB / 1.097 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004975/0.2212, allocations: 19.81 kB / 1.097 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006961/0.2219, allocations: 162.8 kB / 1.097 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002418/0.2243, allocations: 0.719 MB / 1.097 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00189/0.2262, allocations: 0.669 MB / 1.098 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001057/0.2272, allocations: 0.7214 MB / 1.099 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003823/0.2276, allocations: 189.1 kB / 1.099 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008355/0.2284, allocations: 450.6 kB / 1.099 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003377/0.2288, allocations: 199.4 kB / 1.1 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.4e-05/0.2288, allocations: 24 kB / 1.1 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001403/0.2302, allocations: 0.7436 MB / 1.1 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.2304, allocations: 119.6 kB / 1.1 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001668/0.2306, allocations: 119.7 kB / 1.101 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001204/0.2318, allocations: 0.7363 MB / 1.101 GB, free: 1.055 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.2318, allocations: 0 / 1.101 GB, free: 1.055 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.022e-06/0.2318, allocations: 0 / 1.101 GB, free: 1.055 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.352e-05/0.2318, allocations: 0 / 1.101 GB, free: 1.055 MB / 0.9981 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.001053/0.2328, allocations: 0.5978 MB / 1.102 GB, free: 436 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.2329, allocations: 8.031 kB / 1.102 GB, free: 428 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/0.234, allocations: 159.6 kB / 1.102 GB, free: 268 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5802/0.8143, allocations: 260.6 kB / 1.102 GB, free: 164.4 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.093e-05/0.8143, allocations: 21.56 kB / 1.102 GB, free: 164.4 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.8144, allocations: 19.56 kB / 1.102 GB, free: 164.4 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008812/0.8153, allocations: 284.5 kB / 1.103 GB, free: 164.4 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.8153, allocations: 1.953 kB / 1.103 GB, free: 164.4 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.863e-05/0.8154, allocations: 10.94 kB / 1.103 GB, free: 164.4 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.8154, allocations: 9.078 kB / 1.103 GB, free: 164.4 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007189/0.8161, allocations: 205 kB / 1.103 GB, free: 164.4 MB / 0.9981 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.001826/0.8179, allocations: 0.9326 MB / 1.104 GB, free: 163.7 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004721/0.8184, allocations: 138.7 kB / 1.104 GB, free: 163.7 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003363/0.8187, allocations: 91 kB / 1.104 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007318/0.8195, allocations: 69.92 kB / 1.104 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.8195, allocations: 41.81 kB / 1.104 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=17): time 3.317e-06/0.8195, allocations: 2.156 kB / 1.104 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17): time 0.001286/0.8208, allocations: 289.5 kB / 1.104 GB, free: 163.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.8208, allocations: 55.34 kB / 1.104 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003871/0.8212, allocations: 256 kB / 1.105 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.8212, allocations: 31.52 kB / 1.105 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.8214, allocations: 185 kB / 1.105 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.014e-05/0.8214, allocations: 67.08 kB / 1.105 GB, free: 163 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.8215, allocations: 48.69 kB / 1.105 GB, free: 163 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.502e-05/0.8216, allocations: 347.8 kB / 1.105 GB, free: 162.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002704/0.8219, allocations: 66.19 kB / 1.105 GB, free: 162.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003502/0.8223, allocations: 207 kB / 1.106 GB, free: 162.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000575/0.8228, allocations: 197.7 kB / 1.106 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.8228, allocations: 0.9062 kB / 1.106 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007268/0.8236, allocations: 245.4 kB / 1.106 GB, free: 162.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.8236, allocations: 6.281 kB / 1.106 GB, free: 162.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.8236, allocations: 2.703 kB / 1.106 GB, free: 162.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.78e-05/0.8236, allocations: 3.094 kB / 1.106 GB, free: 162.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003207/0.824, allocations: 46.09 kB / 1.106 GB, free: 162.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.824, allocations: 9.688 kB / 1.106 GB, free: 162.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002807/0.8242, allocations: 29.98 kB / 1.106 GB, free: 162.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-05/0.8243, allocations: 11.67 kB / 1.106 GB, free: 162.3 MB / 0.9981 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.0001815/0.8245, allocations: 153.8 kB / 1.106 GB, free: 162.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.256e-05/0.8246, allocations: 24.95 kB / 1.106 GB, free: 162.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007206/0.8253, allocations: 224.1 kB / 1.106 GB, free: 162 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.064e-06/0.8253, allocations: 4.859 kB / 1.106 GB, free: 162 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.8253, allocations: 4.828 kB / 1.106 GB, free: 162 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.8253, allocations: 1.078 kB / 1.106 GB, free: 162 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001493/0.8268, allocations: 0.6181 MB / 1.107 GB, free: 161.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.8268, allocations: 5.938 kB / 1.107 GB, free: 161.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002678/0.8271, allocations: 35.91 kB / 1.107 GB, free: 161.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/0.8271, allocations: 3.312 kB / 1.107 GB, free: 161.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.67e-05/0.8271, allocations: 11.75 kB / 1.107 GB, free: 161.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.203e-06/0.8271, allocations: 3.594 kB / 1.107 GB, free: 161.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.8271, allocations: 2.406 kB / 1.107 GB, free: 161.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009721/0.8281, allocations: 441.5 kB / 1.108 GB, free: 161.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/0.8282, allocations: 39.3 kB / 1.108 GB, free: 161.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.342e-05/0.8283, allocations: 11.92 kB / 1.108 GB, free: 161.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000293/0.8286, allocations: 7.812 kB / 1.108 GB, free: 161.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.945e-05/0.8287, allocations: 21.47 kB / 1.108 GB, free: 161.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.8287, allocations: 8.344 kB / 1.108 GB, free: 161.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002531/0.8289, allocations: 184.3 kB / 1.108 GB, free: 161.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8289, allocations: 0.5312 kB / 1.108 GB, free: 161.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007346/0.8297, allocations: 89.11 kB / 1.108 GB, free: 161.2 MB / 0.9981 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.0003894/0.8301, allocations: 155.9 kB / 1.108 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007658/0.8308, allocations: 185.8 kB / 1.108 GB, free: 161 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.8308, allocations: 0.7188 kB / 1.108 GB, free: 161 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003234/0.8311, allocations: 90.55 kB / 1.108 GB, free: 161 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/0.8324, allocations: 124 kB / 1.108 GB, free: 161 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.8338, allocations: 0.5747 MB / 1.109 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.834, allocations: 174.8 kB / 1.109 GB, free: 160.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002823/0.8343, allocations: 57.98 kB / 1.109 GB, free: 160.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.8344, allocations: 27.91 kB / 1.109 GB, free: 160.5 MB / 0.9981 GB Notification: Performance of SimCode: time 4.11e-07/0.8344, allocations: 0 / 1.109 GB, free: 160.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.01355/0.848, allocations: 4.807 MB / 1.114 GB, free: 160 MB / 0.9981 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/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: 9.184518076479435]