Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001541/0.001541, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.001955/0.001955, allocations: 194.3 kB / 22.17 MB, free: 5.656 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.55/1.55, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.765/2.765, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_11_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_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 71.89 kB / 1.109 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.013/1.015, allocations: 168.7 MB / 1.274 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01853/1.034, allocations: 15.8 MB / 1.289 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00821/1.042, allocations: 4.369 MB / 1.294 GB, free: 308 kB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009595/1.043, allocations: 15.94 kB / 1.294 GB, free: 292 kB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001086/1.044, allocations: 270.3 kB / 1.294 GB, free: 20 kB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001942/1.046, allocations: 0.6335 MB / 1.295 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002199/1.048, allocations: 0.7245 MB / 1.295 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001635/1.05, allocations: 1.029 MB / 1.296 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005177/1.05, allocations: 279.8 kB / 1.297 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008512/1.051, allocations: 426.4 kB / 1.297 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005241/1.051, allocations: 334.5 kB / 1.297 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.127e-05/1.052, allocations: 28 kB / 1.297 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001393/1.053, allocations: 0.6395 MB / 1.298 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001491/1.053, allocations: 111.5 kB / 1.298 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002619/1.053, allocations: 226.7 kB / 1.298 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001296/1.055, allocations: 0.7655 MB / 1.299 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/1.055, allocations: 0 / 1.299 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.904e-06/1.055, allocations: 3.938 kB / 1.299 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.356e-06/1.055, allocations: 0 / 1.299 GB, free: 10.84 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001443/1.056, allocations: 0.8477 MB / 1.3 GB, free: 9.938 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/1.056, allocations: 8.031 kB / 1.3 GB, free: 9.93 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000133/1.056, allocations: 60.56 kB / 1.3 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007618/1.057, allocations: 437.8 kB / 1.3 GB, free: 9.406 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/1.057, allocations: 20.44 kB / 1.3 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.46e-05/1.057, allocations: 28 kB / 1.3 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004369/1.058, allocations: 207.2 kB / 1.301 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/1.058, allocations: 4 kB / 1.301 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.456e-05/1.058, allocations: 12 kB / 1.301 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/1.058, allocations: 4 kB / 1.301 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000384/1.058, allocations: 165.6 kB / 1.301 GB, free: 8.969 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.001693/1.06, allocations: 0.9498 MB / 1.302 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003033/1.06, allocations: 126.6 kB / 1.302 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/1.06, allocations: 64.81 kB / 1.302 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003349/1.06, allocations: 336.4 kB / 1.302 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.051e-05/1.06, allocations: 38.5 kB / 1.302 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/1.06, allocations: 0 / 1.302 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14): time 0.0006468/1.061, allocations: 249.2 kB / 1.303 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/1.061, allocations: 55.41 kB / 1.303 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006235/1.062, allocations: 474 kB / 1.303 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.402e-05/1.062, allocations: 33.7 kB / 1.303 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002281/1.062, allocations: 228.7 kB / 1.303 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.735e-05/1.062, allocations: 51.7 kB / 1.303 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/1.062, allocations: 61.64 kB / 1.303 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001907/1.062, allocations: 358.7 kB / 1.304 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/1.063, allocations: 68.81 kB / 1.304 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002825/1.063, allocations: 155.6 kB / 1.304 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003667/1.063, allocations: 167.8 kB / 1.304 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/1.063, allocations: 0 / 1.304 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005361/1.064, allocations: 255.5 kB / 1.304 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/1.064, allocations: 7.984 kB / 1.304 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/1.064, allocations: 0 / 1.304 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/1.064, allocations: 4 kB / 1.304 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002212/1.064, allocations: 47.91 kB / 1.304 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/1.064, allocations: 4 kB / 1.304 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003142/1.064, allocations: 31.81 kB / 1.304 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.932e-05/1.064, allocations: 15.98 kB / 1.304 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003097/1.065, allocations: 188.1 kB / 1.305 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002857/1.065, allocations: 171.6 kB / 1.305 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003868/1.065, allocations: 168.1 kB / 1.305 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.196e-06/1.065, allocations: 7.984 kB / 1.305 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005333/1.066, allocations: 246.9 kB / 1.305 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/1.066, allocations: 8 kB / 1.305 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/1.066, allocations: 7.938 kB / 1.305 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.019e-06/1.066, allocations: 4 kB / 1.305 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002088/1.066, allocations: 44.16 kB / 1.305 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/1.066, allocations: 4 kB / 1.305 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003221/1.066, allocations: 43.86 kB / 1.305 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.181e-05/1.067, allocations: 11.98 kB / 1.305 GB, free: 4.031 MB / 0.9981 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 0.0001553/1.067, allocations: 200.1 kB / 1.305 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.114e-05/1.067, allocations: 47.67 kB / 1.306 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005907/1.067, allocations: 245.2 kB / 1.306 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/1.067, allocations: 7.984 kB / 1.306 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/1.067, allocations: 0 / 1.306 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/1.067, allocations: 0 / 1.306 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/1.069, allocations: 0.7045 MB / 1.306 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/1.069, allocations: 0 / 1.306 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/1.069, allocations: 31.98 kB / 1.306 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/1.069, allocations: 0 / 1.306 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/1.069, allocations: 4 kB / 1.307 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.298e-05/1.069, allocations: 15.86 kB / 1.307 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/1.069, allocations: 0 / 1.307 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005692/1.069, allocations: 348.4 kB / 1.307 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001657/1.069, allocations: 140.7 kB / 1.307 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.978e-05/1.069, allocations: 8 kB / 1.307 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/1.07, allocations: 11.92 kB / 1.307 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.253e-05/1.07, allocations: 23.92 kB / 1.307 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/1.07, allocations: 4 kB / 1.307 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004146/1.07, allocations: 338.9 kB / 1.307 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.07, allocations: 0 / 1.307 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006882/1.071, allocations: 199.6 kB / 1.308 GB, free: 1.613 MB / 0.9981 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.001607/1.072, allocations: 485.1 kB / 1.308 GB, free: 1.281 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007355/1.073, allocations: 257.3 kB / 1.308 GB, free: 1.031 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/1.073, allocations: 4 kB / 1.308 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002031/1.073, allocations: 83.88 kB / 1.308 GB, free: 0.9453 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/1.074, allocations: 191.5 kB / 1.309 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/1.076, allocations: 0.7353 MB / 1.309 GB, free: 15.98 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004993/1.076, allocations: 0.8192 MB / 1.31 GB, free: 15.14 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002617/1.077, allocations: 91.12 kB / 1.31 GB, free: 15.05 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.515e-05/1.077, allocations: 39.44 kB / 1.31 GB, free: 15.02 MB / 1.014 GB Notification: Performance of SimCode: time 7.02e-07/1.077, allocations: 4 kB / 1.31 GB, free: 15.01 MB / 1.014 GB Notification: Performance of Templates: time 0.01686/1.094, allocations: 8.613 MB / 1.319 GB, free: 6.531 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.410195040050894]