Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.00153/0.00153, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001786/0.001786, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.56/1.56, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.918/2.918, allocations: 496.2 MB / 0.7819 GB, free: 12.26 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 67.89 kB / 1.136 GB, free: 12.45 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.098/1.1, allocations: 173.6 MB / 1.305 GB, free: 33.38 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01349/1.113, allocations: 15.76 MB / 1.321 GB, free: 22.2 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00558/1.119, allocations: 4.327 MB / 1.325 GB, free: 19.18 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006373/1.12, allocations: 15.75 kB / 1.325 GB, free: 19.17 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0009411/1.121, allocations: 269.6 kB / 1.325 GB, free: 19.02 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001597/1.122, allocations: 0.6352 MB / 1.326 GB, free: 18.65 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001877/1.124, allocations: 0.7045 MB / 1.327 GB, free: 18.31 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001176/1.125, allocations: 1.021 MB / 1.328 GB, free: 17.84 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003625/1.126, allocations: 271.6 kB / 1.328 GB, free: 17.71 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007432/1.126, allocations: 482 kB / 1.328 GB, free: 17.5 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003455/1.127, allocations: 319.4 kB / 1.329 GB, free: 17.36 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.633e-05/1.127, allocations: 32.34 kB / 1.329 GB, free: 17.36 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009952/1.128, allocations: 0.6389 MB / 1.329 GB, free: 17.16 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.432e-05/1.128, allocations: 99.69 kB / 1.329 GB, free: 17.1 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001594/1.128, allocations: 218.8 kB / 1.33 GB, free: 16.97 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0008929/1.129, allocations: 0.7656 MB / 1.33 GB, free: 16.68 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/1.129, allocations: 0 / 1.33 GB, free: 16.68 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.362e-06/1.129, allocations: 0 / 1.33 GB, free: 16.68 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.987e-06/1.129, allocations: 2.719 kB / 1.33 GB, free: 16.68 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001137/1.13, allocations: 0.8408 MB / 1.331 GB, free: 16 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/1.13, allocations: 9.469 kB / 1.331 GB, free: 16 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001329/1.13, allocations: 55.08 kB / 1.331 GB, free: 15.98 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006557/1.131, allocations: 431.1 kB / 1.332 GB, free: 15.66 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.951e-05/1.131, allocations: 19.66 kB / 1.332 GB, free: 15.65 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.091e-05/1.131, allocations: 27.28 kB / 1.332 GB, free: 15.64 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004411/1.131, allocations: 213 kB / 1.332 GB, free: 15.55 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/1.131, allocations: 0 / 1.332 GB, free: 15.55 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.345e-05/1.131, allocations: 10 kB / 1.332 GB, free: 15.54 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/1.131, allocations: 4.969 kB / 1.332 GB, free: 15.54 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003948/1.132, allocations: 172.4 kB / 1.332 GB, free: 15.49 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001482/1.133, allocations: 0.935 MB / 1.333 GB, free: 14.87 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003052/1.134, allocations: 123.9 kB / 1.333 GB, free: 14.82 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/1.134, allocations: 70.34 kB / 1.333 GB, free: 14.79 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002139/1.134, allocations: 343.7 kB / 1.333 GB, free: 14.4 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.634e-05/1.134, allocations: 35.09 kB / 1.334 GB, free: 14.36 MB / 1.061 GB Notification: Performance of pre-optimization done (n=14): time 1.213e-06/1.134, allocations: 0.5625 kB / 1.334 GB, free: 14.36 MB / 1.061 GB Notification: Performance of matching and sorting (n=14): time 0.0006728/1.135, allocations: 239.2 kB / 1.334 GB, free: 14.26 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/1.135, allocations: 53.53 kB / 1.334 GB, free: 14.2 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005007/1.135, allocations: 468.5 kB / 1.334 GB, free: 13.98 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/1.135, allocations: 32.95 kB / 1.334 GB, free: 13.95 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/1.135, allocations: 224.7 kB / 1.335 GB, free: 13.77 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/1.135, allocations: 49.52 kB / 1.335 GB, free: 13.73 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.421e-05/1.135, allocations: 57.33 kB / 1.335 GB, free: 13.7 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.246e-05/1.136, allocations: 357.6 kB / 1.335 GB, free: 13.36 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/1.136, allocations: 70.95 kB / 1.335 GB, free: 13.33 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002419/1.136, allocations: 153.6 kB / 1.335 GB, free: 13.23 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003128/1.136, allocations: 164.9 kB / 1.335 GB, free: 13.16 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.136, allocations: 7.938 kB / 1.335 GB, free: 13.15 MB / 1.061 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004863/1.137, allocations: 250.2 kB / 1.336 GB, free: 13.04 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/1.137, allocations: 7.875 kB / 1.336 GB, free: 13.04 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/1.137, allocations: 3.938 kB / 1.336 GB, free: 13.04 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/1.137, allocations: 2.688 kB / 1.336 GB, free: 13.04 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002383/1.137, allocations: 45.44 kB / 1.336 GB, free: 13.04 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/1.137, allocations: 1.344 kB / 1.336 GB, free: 13.04 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002987/1.137, allocations: 47.45 kB / 1.336 GB, free: 13.01 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.618e-05/1.137, allocations: 7.219 kB / 1.336 GB, free: 13.01 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002456/1.138, allocations: 196.9 kB / 1.336 GB, free: 12.89 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002108/1.138, allocations: 158.8 kB / 1.336 GB, free: 12.77 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003054/1.138, allocations: 175.3 kB / 1.336 GB, free: 12.68 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.773e-06/1.138, allocations: 1.375 kB / 1.336 GB, free: 12.68 MB / 1.061 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004888/1.139, allocations: 256.8 kB / 1.336 GB, free: 12.57 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/1.139, allocations: 5.562 kB / 1.336 GB, free: 12.57 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.115e-06/1.139, allocations: 0.9375 kB / 1.336 GB, free: 12.57 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.979e-06/1.139, allocations: 3.453 kB / 1.336 GB, free: 12.57 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002122/1.139, allocations: 41.84 kB / 1.336 GB, free: 12.57 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/1.139, allocations: 7.297 kB / 1.336 GB, free: 12.56 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003113/1.139, allocations: 29.86 kB / 1.337 GB, free: 12.55 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.658e-05/1.139, allocations: 18.06 kB / 1.337 GB, free: 12.55 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 7.75e-05/1.139, allocations: 190.6 kB / 1.337 GB, free: 12.36 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.192e-05/1.139, allocations: 43 kB / 1.337 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005936/1.14, allocations: 256.8 kB / 1.337 GB, free: 12.22 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/1.14, allocations: 2.594 kB / 1.337 GB, free: 12.22 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/1.14, allocations: 4.531 kB / 1.337 GB, free: 12.21 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/1.14, allocations: 1.75 kB / 1.337 GB, free: 12.21 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/1.141, allocations: 0.7061 MB / 1.338 GB, free: 11.73 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/1.141, allocations: 1.562 kB / 1.338 GB, free: 11.73 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/1.141, allocations: 36.22 kB / 1.338 GB, free: 11.72 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/1.141, allocations: 6.062 kB / 1.338 GB, free: 11.72 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/1.141, allocations: 4.312 kB / 1.338 GB, free: 11.72 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/1.141, allocations: 5.531 kB / 1.338 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.141, allocations: 1.688 kB / 1.338 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005235/1.142, allocations: 344.7 kB / 1.338 GB, free: 11.48 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/1.142, allocations: 143.3 kB / 1.338 GB, free: 11.34 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.639e-05/1.142, allocations: 2.719 kB / 1.338 GB, free: 11.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/1.142, allocations: 19.16 kB / 1.338 GB, free: 11.34 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.669e-05/1.142, allocations: 11.56 kB / 1.338 GB, free: 11.34 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/1.142, allocations: 14.11 kB / 1.338 GB, free: 11.33 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004715/1.143, allocations: 319.8 kB / 1.339 GB, free: 11.18 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/1.143, allocations: 0 / 1.339 GB, free: 11.18 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007447/1.144, allocations: 201.4 kB / 1.339 GB, free: 11.14 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.00157/1.145, allocations: 490.4 kB / 1.339 GB, free: 10.91 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006928/1.146, allocations: 255.2 kB / 1.339 GB, free: 10.84 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.146, allocations: 0 / 1.339 GB, free: 10.84 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001998/1.146, allocations: 86.64 kB / 1.34 GB, free: 10.82 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009734/1.147, allocations: 204.8 kB / 1.34 GB, free: 10.75 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/1.148, allocations: 0.7137 MB / 1.34 GB, free: 10.32 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/1.148, allocations: 0.8216 MB / 1.341 GB, free: 9.613 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002969/1.149, allocations: 86.88 kB / 1.341 GB, free: 9.59 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.812e-05/1.149, allocations: 39.89 kB / 1.341 GB, free: 9.578 MB / 1.061 GB Notification: Performance of SimCode: time 6.61e-07/1.149, allocations: 0 / 1.341 GB, free: 9.578 MB / 1.061 GB Notification: Performance of Templates: time 0.02151/1.17, allocations: 8.565 MB / 1.35 GB, free: 8.809 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.805531397461891]