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.00135/0.00135, 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.00139/0.00139, 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.486/1.486, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.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.772/2.772, allocations: 476.7 MB / 0.7629 GB, free: 15.15 MB / 0.6075 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.001994/0.001994, allocations: 71.89 kB / 1.107 GB, free: 4.531 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.276/1.278, allocations: 168.7 MB / 1.272 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01847/1.296, allocations: 15.81 MB / 1.287 GB, free: 12.68 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.008029/1.304, allocations: 4.379 MB / 1.292 GB, free: 9.625 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008407/1.305, allocations: 16.88 kB / 1.292 GB, free: 9.617 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001205/1.306, allocations: 266.6 kB / 1.292 GB, free: 9.469 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002388/1.309, allocations: 0.6302 MB / 1.293 GB, free: 9.102 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002603/1.311, allocations: 0.7202 MB / 1.293 GB, free: 8.746 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002036/1.313, allocations: 1.028 MB / 1.294 GB, free: 8.281 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005557/1.314, allocations: 275 kB / 1.295 GB, free: 8.156 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00087/1.315, allocations: 431.4 kB / 1.295 GB, free: 7.969 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005451/1.315, allocations: 340.7 kB / 1.295 GB, free: 7.82 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.113e-05/1.316, allocations: 28.31 kB / 1.295 GB, free: 7.82 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001515/1.317, allocations: 0.631 MB / 1.296 GB, free: 7.621 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001523/1.317, allocations: 104.3 kB / 1.296 GB, free: 7.562 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002613/1.317, allocations: 227.8 kB / 1.296 GB, free: 7.426 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001419/1.319, allocations: 0.7698 MB / 1.297 GB, free: 7.137 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/1.319, allocations: 0 / 1.297 GB, free: 7.137 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.155e-06/1.319, allocations: 4 kB / 1.297 GB, free: 7.133 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.698e-06/1.319, allocations: 0.7969 kB / 1.297 GB, free: 7.133 MB / 1.014 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.001494/1.32, allocations: 0.8503 MB / 1.298 GB, free: 6.457 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/1.32, allocations: 6.75 kB / 1.298 GB, free: 6.457 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001227/1.321, allocations: 63.72 kB / 1.298 GB, free: 6.422 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007869/1.321, allocations: 433.7 kB / 1.298 GB, free: 6.105 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/1.321, allocations: 19.22 kB / 1.298 GB, free: 6.098 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.744e-05/1.321, allocations: 27.84 kB / 1.298 GB, free: 6.09 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004688/1.322, allocations: 215 kB / 1.299 GB, free: 5.992 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/1.322, allocations: 0.6094 kB / 1.299 GB, free: 5.992 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.353e-05/1.322, allocations: 6.219 kB / 1.299 GB, free: 5.988 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/1.322, allocations: 5.125 kB / 1.299 GB, free: 5.988 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004114/1.322, allocations: 168.2 kB / 1.299 GB, free: 5.941 MB / 1.014 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.001859/1.324, allocations: 0.9438 MB / 1.3 GB, free: 5.316 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003113/1.324, allocations: 132.2 kB / 1.3 GB, free: 5.254 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/1.325, allocations: 64.92 kB / 1.3 GB, free: 5.23 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004144/1.325, allocations: 338.8 kB / 1.3 GB, free: 4.848 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/1.325, allocations: 35.53 kB / 1.3 GB, free: 4.805 MB / 1.014 GB Notification: Performance of pre-optimization done (n=14): time 1.813e-06/1.325, allocations: 2.531 kB / 1.3 GB, free: 4.805 MB / 1.014 GB Notification: Performance of matching and sorting (n=14): time 0.0007137/1.326, allocations: 249.3 kB / 1.3 GB, free: 4.699 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/1.326, allocations: 54.16 kB / 1.3 GB, free: 4.637 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006438/1.327, allocations: 480.2 kB / 1.301 GB, free: 4.414 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.013e-05/1.327, allocations: 30.36 kB / 1.301 GB, free: 4.379 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002381/1.327, allocations: 230.3 kB / 1.301 GB, free: 4.191 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.156e-05/1.327, allocations: 49.03 kB / 1.301 GB, free: 4.152 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/1.327, allocations: 64.94 kB / 1.301 GB, free: 4.113 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002252/1.327, allocations: 358.3 kB / 1.302 GB, free: 3.777 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002068/1.327, allocations: 73.7 kB / 1.302 GB, free: 3.75 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003162/1.328, allocations: 150.7 kB / 1.302 GB, free: 3.648 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004524/1.328, allocations: 173 kB / 1.302 GB, free: 3.566 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.328, allocations: 0.5312 kB / 1.302 GB, free: 3.566 MB / 1.014 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007156/1.329, allocations: 250.2 kB / 1.302 GB, free: 3.461 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/1.329, allocations: 7.344 kB / 1.302 GB, free: 3.461 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/1.329, allocations: 0.5625 kB / 1.302 GB, free: 3.461 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/1.329, allocations: 6.812 kB / 1.302 GB, free: 3.457 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002765/1.329, allocations: 42.7 kB / 1.302 GB, free: 3.457 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/1.329, allocations: 1.688 kB / 1.302 GB, free: 3.457 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003469/1.33, allocations: 44.52 kB / 1.302 GB, free: 3.434 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.675e-05/1.33, allocations: 13.14 kB / 1.302 GB, free: 3.43 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003424/1.33, allocations: 192.2 kB / 1.303 GB, free: 3.309 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002756/1.33, allocations: 166.1 kB / 1.303 GB, free: 3.188 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003659/1.331, allocations: 170.4 kB / 1.303 GB, free: 3.098 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.182e-06/1.331, allocations: 0 / 1.303 GB, free: 3.098 MB / 1.014 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005367/1.331, allocations: 249.4 kB / 1.303 GB, free: 2.992 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/1.331, allocations: 7.156 kB / 1.303 GB, free: 2.992 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-06/1.331, allocations: 0 / 1.303 GB, free: 2.992 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.107e-06/1.331, allocations: 2.5 kB / 1.303 GB, free: 2.992 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/1.331, allocations: 51.39 kB / 1.303 GB, free: 2.984 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/1.331, allocations: 9.719 kB / 1.303 GB, free: 2.977 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003565/1.332, allocations: 34.48 kB / 1.303 GB, free: 2.965 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.412e-05/1.332, allocations: 9.656 kB / 1.303 GB, free: 2.965 MB / 1.014 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.0001612/1.332, allocations: 193.7 kB / 1.303 GB, free: 2.773 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.13e-05/1.332, allocations: 47.91 kB / 1.303 GB, free: 2.746 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006504/1.333, allocations: 253.9 kB / 1.304 GB, free: 2.637 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.472e-05/1.333, allocations: 5.906 kB / 1.304 GB, free: 2.633 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/1.333, allocations: 1.562 kB / 1.304 GB, free: 2.633 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/1.333, allocations: 1.078 kB / 1.304 GB, free: 2.633 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/1.334, allocations: 0.7084 MB / 1.304 GB, free: 2.148 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/1.334, allocations: 1.5 kB / 1.304 GB, free: 2.148 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/1.334, allocations: 31.77 kB / 1.304 GB, free: 2.145 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/1.334, allocations: 2.5 kB / 1.304 GB, free: 2.145 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/1.334, allocations: 3.625 kB / 1.304 GB, free: 2.145 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.74e-06/1.334, allocations: 6.297 kB / 1.304 GB, free: 2.141 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.334, allocations: 1.375 kB / 1.304 GB, free: 2.141 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005126/1.335, allocations: 350.2 kB / 1.305 GB, free: 1.898 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001543/1.335, allocations: 143.8 kB / 1.305 GB, free: 1.766 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.622e-05/1.335, allocations: 7.141 kB / 1.305 GB, free: 1.762 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/1.335, allocations: 21.44 kB / 1.305 GB, free: 1.75 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.389e-05/1.335, allocations: 11.34 kB / 1.305 GB, free: 1.75 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/1.335, allocations: 10.11 kB / 1.305 GB, free: 1.746 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004027/1.335, allocations: 332.5 kB / 1.305 GB, free: 1.594 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/1.335, allocations: 1.375 kB / 1.305 GB, free: 1.594 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007444/1.336, allocations: 204.8 kB / 1.305 GB, free: 1.547 MB / 1.014 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.001663/1.338, allocations: 483.5 kB / 1.306 GB, free: 1.328 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007344/1.339, allocations: 257.1 kB / 1.306 GB, free: 1.262 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.339, allocations: 0 / 1.306 GB, free: 1.262 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000197/1.339, allocations: 82.06 kB / 1.306 GB, free: 1.238 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/1.34, allocations: 207 kB / 1.306 GB, free: 1.172 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/1.341, allocations: 0.7215 MB / 1.307 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005197/1.342, allocations: 0.8256 MB / 1.308 GB, free: 24 kB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003775/1.342, allocations: 90.38 kB / 1.308 GB, free: 0 / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/1.342, allocations: 35.52 kB / 1.308 GB, free: 15.99 MB / 1.029 GB Notification: Performance of SimCode: time 1.433e-06/1.342, allocations: 0 / 1.308 GB, free: 15.99 MB / 1.029 GB Notification: Performance of Templates: time 0.01988/1.362, allocations: 8.62 MB / 1.316 GB, free: 15.22 MB / 1.029 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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.691441992297769]