Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.001974/0.001974, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.002422/0.002422, allocations: 159.8 kB / 23.01 MB, free: 4.949 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.514/1.514, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.947/2.947, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|valTab.m_flow|kv.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|valTab.m_flow|kv.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002312/0.002312, allocations: 67.89 kB / 1.009 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.005/1.007, allocations: 181.8 MB / 1.187 GB, free: 16.23 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01699/1.024, allocations: 16.35 MB / 1.203 GB, free: 5.207 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.006841/1.031, allocations: 4.676 MB / 1.207 GB, free: 2.094 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006946/1.032, allocations: 20.94 kB / 1.207 GB, free: 2.082 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0009415/1.033, allocations: 261.8 kB / 1.207 GB, free: 1.934 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00187/1.035, allocations: 0.6727 MB / 1.208 GB, free: 1.555 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002184/1.037, allocations: 0.7407 MB / 1.209 GB, free: 1.195 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001325/1.038, allocations: 0.9779 MB / 1.21 GB, free: 0.7461 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004505/1.039, allocations: 272.3 kB / 1.21 GB, free: 0.6211 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008786/1.039, allocations: 499 kB / 1.21 GB, free: 408 kB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004397/1.04, allocations: 312.9 kB / 1.211 GB, free: 276 kB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 6.81e-05/1.04, allocations: 29.69 kB / 1.211 GB, free: 276 kB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001361/1.041, allocations: 0.6079 MB / 1.211 GB, free: 100 kB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001585/1.041, allocations: 139.8 kB / 1.212 GB, free: 28 kB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002648/1.042, allocations: 197.8 kB / 1.212 GB, free: 15.92 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001564/1.043, allocations: 0.8758 MB / 1.213 GB, free: 15.6 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/1.043, allocations: 0 / 1.213 GB, free: 15.6 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.333e-06/1.043, allocations: 0 / 1.213 GB, free: 15.6 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.011e-05/1.043, allocations: 1.094 kB / 1.213 GB, free: 15.6 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001557/1.045, allocations: 0.8283 MB / 1.213 GB, free: 14.98 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/1.045, allocations: 10.34 kB / 1.213 GB, free: 14.98 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001792/1.045, allocations: 63.41 kB / 1.213 GB, free: 14.95 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007637/1.046, allocations: 397.8 kB / 1.214 GB, free: 14.69 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.067e-05/1.046, allocations: 25.75 kB / 1.214 GB, free: 14.68 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.782e-05/1.046, allocations: 27.67 kB / 1.214 GB, free: 14.67 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000639/1.047, allocations: 290.8 kB / 1.214 GB, free: 14.52 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/1.047, allocations: 0 / 1.214 GB, free: 14.52 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.776e-05/1.047, allocations: 10.84 kB / 1.214 GB, free: 14.51 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/1.047, allocations: 5.656 kB / 1.214 GB, free: 14.51 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004635/1.047, allocations: 185.2 kB / 1.214 GB, free: 14.46 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00201/1.049, allocations: 1.175 MB / 1.216 GB, free: 13.62 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003605/1.049, allocations: 152.1 kB / 1.216 GB, free: 13.56 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001946/1.05, allocations: 81.16 kB / 1.216 GB, free: 13.53 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001349/1.051, allocations: 0.5278 MB / 1.216 GB, free: 13.19 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/1.051, allocations: 42.09 kB / 1.216 GB, free: 13.14 MB / 1.092 GB Notification: Performance of pre-optimization done (n=15): time 1.362e-06/1.051, allocations: 0 / 1.216 GB, free: 13.14 MB / 1.092 GB Notification: Performance of matching and sorting (n=15): time 0.000676/1.052, allocations: 250.7 kB / 1.217 GB, free: 13.04 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/1.052, allocations: 58.42 kB / 1.217 GB, free: 12.97 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007255/1.052, allocations: 0.561 MB / 1.217 GB, free: 12.72 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/1.052, allocations: 26.98 kB / 1.217 GB, free: 12.69 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002489/1.053, allocations: 275.8 kB / 1.217 GB, free: 12.46 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 5.811e-05/1.053, allocations: 59.83 kB / 1.217 GB, free: 12.42 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/1.053, allocations: 69.41 kB / 1.218 GB, free: 12.38 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000193/1.053, allocations: 353.5 kB / 1.218 GB, free: 12.05 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/1.053, allocations: 79.86 kB / 1.218 GB, free: 12.02 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006183/1.054, allocations: 448.9 kB / 1.218 GB, free: 11.57 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005833/1.055, allocations: 232.8 kB / 1.219 GB, free: 11.42 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-06/1.055, allocations: 1.469 kB / 1.219 GB, free: 11.42 MB / 1.092 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006588/1.055, allocations: 311.5 kB / 1.219 GB, free: 11.29 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/1.055, allocations: 7.703 kB / 1.219 GB, free: 11.29 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/1.055, allocations: 5.5 kB / 1.219 GB, free: 11.28 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/1.055, allocations: 4.828 kB / 1.219 GB, free: 11.28 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002713/1.055, allocations: 64.03 kB / 1.219 GB, free: 11.27 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/1.055, allocations: 12.95 kB / 1.219 GB, free: 11.27 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003423/1.056, allocations: 40.94 kB / 1.219 GB, free: 11.25 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.503e-05/1.056, allocations: 21.17 kB / 1.219 GB, free: 11.24 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003381/1.056, allocations: 213.6 kB / 1.219 GB, free: 11.11 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004473/1.057, allocations: 445.8 kB / 1.22 GB, free: 10.67 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005113/1.057, allocations: 232.8 kB / 1.22 GB, free: 10.52 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.865e-06/1.057, allocations: 1.188 kB / 1.22 GB, free: 10.52 MB / 1.092 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006229/1.058, allocations: 305.2 kB / 1.22 GB, free: 10.39 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/1.058, allocations: 8.75 kB / 1.22 GB, free: 10.39 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/1.058, allocations: 6.453 kB / 1.22 GB, free: 10.38 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/1.058, allocations: 8.406 kB / 1.22 GB, free: 10.38 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002373/1.058, allocations: 63.27 kB / 1.22 GB, free: 10.37 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/1.058, allocations: 9.406 kB / 1.22 GB, free: 10.37 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003416/1.058, allocations: 38.28 kB / 1.22 GB, free: 10.35 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.985e-05/1.058, allocations: 23.98 kB / 1.22 GB, free: 10.34 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.0001624/1.059, allocations: 195.5 kB / 1.221 GB, free: 10.15 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.739e-05/1.059, allocations: 45.34 kB / 1.221 GB, free: 10.12 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007189/1.059, allocations: 260.1 kB / 1.221 GB, free: 10.01 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/1.059, allocations: 1.719 kB / 1.221 GB, free: 10.01 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/1.059, allocations: 1.188 kB / 1.221 GB, free: 10.01 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/1.059, allocations: 4.688 kB / 1.221 GB, free: 10.01 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/1.061, allocations: 0.6488 MB / 1.221 GB, free: 9.594 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.435e-06/1.061, allocations: 5.734 kB / 1.221 GB, free: 9.59 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/1.061, allocations: 29.19 kB / 1.221 GB, free: 9.59 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/1.061, allocations: 1.094 kB / 1.221 GB, free: 9.59 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/1.061, allocations: 8.703 kB / 1.222 GB, free: 9.586 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/1.061, allocations: 1.469 kB / 1.222 GB, free: 9.586 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/1.061, allocations: 9.891 kB / 1.222 GB, free: 9.578 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005384/1.061, allocations: 356.2 kB / 1.222 GB, free: 9.336 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/1.061, allocations: 68.12 kB / 1.222 GB, free: 9.297 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.12e-05/1.061, allocations: 3.391 kB / 1.222 GB, free: 9.297 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/1.062, allocations: 12.56 kB / 1.222 GB, free: 9.293 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.312e-05/1.062, allocations: 13.48 kB / 1.222 GB, free: 9.293 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/1.062, allocations: 9.875 kB / 1.222 GB, free: 9.289 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0005396/1.062, allocations: 404.4 kB / 1.222 GB, free: 9.113 MB / 1.092 GB Notification: Performance of sort global known variables: time 1e-07/1.062, allocations: 4 kB / 1.222 GB, free: 9.109 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0009628/1.063, allocations: 234.8 kB / 1.223 GB, free: 9.059 MB / 1.092 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 (17): * Single equations (assignments): 15 * 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.001784/1.065, allocations: 0.5016 MB / 1.223 GB, free: 8.836 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0008062/1.066, allocations: 309.8 kB / 1.223 GB, free: 8.75 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/1.066, allocations: 6.219 kB / 1.223 GB, free: 8.746 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002103/1.066, allocations: 85.38 kB / 1.223 GB, free: 8.723 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/1.067, allocations: 216.9 kB / 1.224 GB, free: 8.66 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001483/1.069, allocations: 0.8247 MB / 1.224 GB, free: 8.18 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/1.069, allocations: 238.4 kB / 1.225 GB, free: 8.082 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.000319/1.069, allocations: 98.95 kB / 1.225 GB, free: 8.059 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.125e-05/1.069, allocations: 45.47 kB / 1.225 GB, free: 8.043 MB / 1.092 GB Notification: Performance of SimCode: time 6.11e-07/1.069, allocations: 1.25 kB / 1.225 GB, free: 8.043 MB / 1.092 GB Notification: Performance of Templates: time 0.0215/1.091, allocations: 10.2 MB / 1.235 GB, free: 5.918 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.525904975016601]