Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 113.1 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001949/0.001949, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.544/1.544, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.63/2.63, allocations: 443.5 MB / 0.7304 GB, free: 13.92 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Fluid.Sensors.Examples.Velocity") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002187/0.002187, allocations: 79.83 kB / 1.059 GB, free: 416 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.35, allocations: 160.7 MB / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.9968/1.347, allocations: 168.1 MB / 1.38 GB, free: 9.852 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003748/1.351, allocations: 1.559 MB / 1.382 GB, free: 8.758 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006698/1.351, allocations: 14.81 kB / 1.382 GB, free: 8.75 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007246/1.352, allocations: 158.6 kB / 1.382 GB, free: 8.645 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002553/1.355, allocations: 0.7428 MB / 1.383 GB, free: 8.254 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002333/1.357, allocations: 0.6032 MB / 1.383 GB, free: 7.957 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0016/1.358, allocations: 0.7193 MB / 1.384 GB, free: 7.633 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005556/1.359, allocations: 186.4 kB / 1.384 GB, free: 7.551 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001092/1.36, allocations: 362.4 kB / 1.385 GB, free: 7.391 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005653/1.361, allocations: 241.9 kB / 1.385 GB, free: 7.289 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.82e-05/1.361, allocations: 23.41 kB / 1.385 GB, free: 7.289 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002288/1.363, allocations: 0.9224 MB / 1.386 GB, free: 6.848 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002457/1.363, allocations: 121.6 kB / 1.386 GB, free: 6.762 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003574/1.364, allocations: 165.4 kB / 1.386 GB, free: 6.664 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001938/1.366, allocations: 0.7372 MB / 1.387 GB, free: 6.23 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/1.366, allocations: 4 kB / 1.387 GB, free: 6.227 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.303e-06/1.366, allocations: 0 / 1.387 GB, free: 6.227 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.769e-05/1.366, allocations: 3.938 kB / 1.387 GB, free: 6.223 MB / 1.061 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.001446/1.367, allocations: 0.6761 MB / 1.387 GB, free: 5.621 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/1.367, allocations: 8.688 kB / 1.387 GB, free: 5.621 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001332/1.368, allocations: 156.9 kB / 1.388 GB, free: 5.547 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007753/1.369, allocations: 329.1 kB / 1.388 GB, free: 5.246 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.974e-05/1.369, allocations: 17.62 kB / 1.388 GB, free: 5.234 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.723e-05/1.369, allocations: 32.2 kB / 1.388 GB, free: 5.219 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000626/1.37, allocations: 288.2 kB / 1.388 GB, free: 5.02 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/1.37, allocations: 0.5625 kB / 1.388 GB, free: 5.02 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.924e-05/1.37, allocations: 11.03 kB / 1.388 GB, free: 5.012 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/1.37, allocations: 5.625 kB / 1.388 GB, free: 5.012 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004957/1.37, allocations: 201.5 kB / 1.388 GB, free: 4.922 MB / 1.061 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.001866/1.372, allocations: 1.227 MB / 1.39 GB, free: 3.789 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003555/1.373, allocations: 141 kB / 1.39 GB, free: 3.707 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002112/1.373, allocations: 90.08 kB / 1.39 GB, free: 3.66 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006651/1.374, allocations: 303.7 kB / 1.39 GB, free: 3.352 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/1.374, allocations: 35.84 kB / 1.39 GB, free: 3.309 MB / 1.061 GB Notification: Performance of pre-optimization done (n=17): time 2.004e-06/1.374, allocations: 0 / 1.39 GB, free: 3.309 MB / 1.061 GB Notification: Performance of matching and sorting (n=17): time 0.0009322/1.375, allocations: 299 kB / 1.39 GB, free: 3.156 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/1.375, allocations: 53.97 kB / 1.39 GB, free: 3.094 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004592/1.375, allocations: 324.3 kB / 1.391 GB, free: 2.879 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.73e-05/1.375, allocations: 30.86 kB / 1.391 GB, free: 2.844 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/1.375, allocations: 180.5 kB / 1.391 GB, free: 2.68 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.832e-05/1.375, allocations: 67.05 kB / 1.391 GB, free: 2.621 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/1.375, allocations: 44.14 kB / 1.391 GB, free: 2.59 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002099/1.376, allocations: 341.1 kB / 1.391 GB, free: 2.254 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/1.376, allocations: 75.61 kB / 1.391 GB, free: 2.219 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002566/1.376, allocations: 121.7 kB / 1.392 GB, free: 2.133 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004209/1.377, allocations: 202.8 kB / 1.392 GB, free: 2 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/1.377, allocations: 0 / 1.392 GB, free: 2 MB / 1.061 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005753/1.377, allocations: 257.1 kB / 1.392 GB, free: 1.859 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/1.377, allocations: 11.91 kB / 1.392 GB, free: 1.855 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/1.377, allocations: 5.469 kB / 1.392 GB, free: 1.852 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/1.377, allocations: 2.594 kB / 1.392 GB, free: 1.852 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/1.377, allocations: 42.31 kB / 1.392 GB, free: 1.844 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/1.377, allocations: 6.281 kB / 1.392 GB, free: 1.84 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002797/1.378, allocations: 34.45 kB / 1.392 GB, free: 1.816 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.334e-05/1.378, allocations: 7.625 kB / 1.392 GB, free: 1.816 MB / 1.061 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.0001777/1.378, allocations: 152.3 kB / 1.392 GB, free: 1.676 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.791e-05/1.378, allocations: 34.39 kB / 1.392 GB, free: 1.656 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005556/1.379, allocations: 235.7 kB / 1.393 GB, free: 1.512 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/1.379, allocations: 5.938 kB / 1.393 GB, free: 1.512 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/1.379, allocations: 3.938 kB / 1.393 GB, free: 1.508 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/1.379, allocations: 0 / 1.393 GB, free: 1.508 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001319/1.38, allocations: 0.7138 MB / 1.393 GB, free: 0.9062 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/1.38, allocations: 2.344 kB / 1.393 GB, free: 0.9062 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001914/1.38, allocations: 34.94 kB / 1.393 GB, free: 0.8984 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/1.38, allocations: 2.094 kB / 1.393 GB, free: 0.8984 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/1.38, allocations: 7.656 kB / 1.393 GB, free: 0.8945 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.656e-06/1.38, allocations: 11.44 kB / 1.393 GB, free: 0.8867 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.38, allocations: 2.094 kB / 1.393 GB, free: 0.8867 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007647/1.381, allocations: 452.8 kB / 1.394 GB, free: 0.5508 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001748/1.381, allocations: 120.7 kB / 1.394 GB, free: 440 kB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.263e-05/1.381, allocations: 14.81 kB / 1.394 GB, free: 428 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/1.381, allocations: 9.75 kB / 1.394 GB, free: 424 kB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.474e-05/1.381, allocations: 19.02 kB / 1.394 GB, free: 412 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/1.381, allocations: 10.36 kB / 1.394 GB, free: 408 kB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002804/1.382, allocations: 229.3 kB / 1.394 GB, free: 260 kB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.382, allocations: 0 / 1.394 GB, free: 260 kB / 1.061 GB Notification: Performance of remove unused functions: time 0.00052/1.382, allocations: 88.3 kB / 1.394 GB, free: 240 kB / 1.061 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.0005275/1.383, allocations: 168.7 kB / 1.394 GB, free: 112 kB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005312/1.383, allocations: 169.6 kB / 1.395 GB, free: 40 kB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/1.383, allocations: 3.938 kB / 1.395 GB, free: 36 kB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002502/1.383, allocations: 94.14 kB / 1.395 GB, free: 15.99 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00099/1.384, allocations: 174.1 kB / 1.395 GB, free: 15.91 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/1.386, allocations: 0.6418 MB / 1.395 GB, free: 15.45 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004705/1.386, allocations: 0.7824 MB / 1.396 GB, free: 14.71 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002889/1.387, allocations: 67.52 kB / 1.396 GB, free: 14.67 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.781e-05/1.387, allocations: 25.47 kB / 1.396 GB, free: 14.66 MB / 1.076 GB Notification: Performance of SimCode: time 1.072e-06/1.387, allocations: 4 kB / 1.396 GB, free: 14.66 MB / 1.076 GB Notification: Performance of Templates: time 0.01383/1.4, allocations: 5.952 MB / 1.402 GB, free: 11.73 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_Velocity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.015004804357886]