Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.001615/0.001615, allocations: 110 kB / 18.93 MB, free: 2.945 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.002244/0.002244, allocations: 187.3 kB / 22.23 MB, free: 5.16 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.612/1.612, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.931/2.931, allocations: 476.7 MB / 0.7646 GB, free: 9.887 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.TwoWayValveTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|valTab.m_flow|kv.y",fileNamePrefix="Buildings_11_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_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002163/0.002163, allocations: 67.91 kB / 1.11 GB, free: 6.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.324/1.326, allocations: 168.8 MB / 1.274 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.03772/1.364, allocations: 17.76 MB / 1.292 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01459/1.378, allocations: 4.971 MB / 1.297 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001378/1.38, allocations: 23.81 kB / 1.297 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001689/1.382, allocations: 262.3 kB / 1.297 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002958/1.385, allocations: 0.6492 MB / 1.297 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002629/1.387, allocations: 0.7643 MB / 1.298 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001966/1.389, allocations: 0.9851 MB / 1.299 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005557/1.39, allocations: 277.6 kB / 1.299 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008957/1.391, allocations: 434.3 kB / 1.3 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000518/1.391, allocations: 334.5 kB / 1.3 GB, free: 9.715 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.597e-05/1.391, allocations: 28 kB / 1.3 GB, free: 9.688 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00182/1.393, allocations: 0.7525 MB / 1.301 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001863/1.393, allocations: 139.5 kB / 1.301 GB, free: 8.797 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003154/1.393, allocations: 242.6 kB / 1.301 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00178/1.395, allocations: 0.89 MB / 1.302 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/1.395, allocations: 4 kB / 1.302 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.715e-06/1.395, allocations: 0 / 1.302 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.936e-05/1.395, allocations: 0 / 1.302 GB, free: 7.664 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001609/1.397, allocations: 0.8189 MB / 1.303 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/1.397, allocations: 8.031 kB / 1.303 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002329/1.397, allocations: 64.56 kB / 1.303 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008589/1.398, allocations: 402.9 kB / 1.303 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.215e-05/1.398, allocations: 24.44 kB / 1.303 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.456e-05/1.398, allocations: 28 kB / 1.303 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005945/1.399, allocations: 289.2 kB / 1.304 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/1.399, allocations: 0 / 1.304 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.985e-05/1.399, allocations: 12 kB / 1.304 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.586e-05/1.399, allocations: 8 kB / 1.304 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004613/1.399, allocations: 189.8 kB / 1.304 GB, free: 5.762 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.002294/1.402, allocations: 1.43 MB / 1.305 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003651/1.402, allocations: 158.6 kB / 1.305 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001854/1.402, allocations: 88.81 kB / 1.306 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00135/1.403, allocations: 0.5701 MB / 1.306 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.009e-05/1.404, allocations: 46.42 kB / 1.306 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/1.404, allocations: 0 / 1.306 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0007197/1.404, allocations: 253.1 kB / 1.306 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.899e-05/1.404, allocations: 51.41 kB / 1.306 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009411/1.405, allocations: 0.5809 MB / 1.307 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.707e-05/1.405, allocations: 37.7 kB / 1.307 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002725/1.406, allocations: 268.5 kB / 1.307 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.771e-05/1.406, allocations: 55.53 kB / 1.307 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001441/1.406, allocations: 73.92 kB / 1.307 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002438/1.406, allocations: 354.8 kB / 1.308 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002173/1.406, allocations: 81.92 kB / 1.308 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003633/1.407, allocations: 214.7 kB / 1.308 GB, free: 1.289 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004884/1.407, allocations: 235.7 kB / 1.308 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/1.407, allocations: 0 / 1.308 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006523/1.408, allocations: 314.8 kB / 1.309 GB, free: 0.7148 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.052e-05/1.408, allocations: 13.81 kB / 1.309 GB, free: 0.7031 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/1.408, allocations: 8.25 kB / 1.309 GB, free: 0.6953 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/1.408, allocations: 4 kB / 1.309 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002705/1.408, allocations: 59.91 kB / 1.309 GB, free: 0.6328 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/1.408, allocations: 4 kB / 1.309 GB, free: 0.6289 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003299/1.408, allocations: 43.75 kB / 1.309 GB, free: 0.5859 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.121e-05/1.408, allocations: 19.94 kB / 1.309 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004216/1.409, allocations: 216.6 kB / 1.309 GB, free: 360 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003844/1.409, allocations: 211 kB / 1.309 GB, free: 100 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004994/1.41, allocations: 229.2 kB / 1.309 GB, free: 15.84 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.503e-06/1.41, allocations: 0 / 1.309 GB, free: 15.84 MB / 1.014 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007339/1.41, allocations: 311.8 kB / 1.31 GB, free: 15.53 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/1.41, allocations: 7.938 kB / 1.31 GB, free: 15.52 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/1.41, allocations: 12.17 kB / 1.31 GB, free: 15.51 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.723e-06/1.411, allocations: 8 kB / 1.31 GB, free: 15.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002512/1.411, allocations: 63.91 kB / 1.31 GB, free: 15.44 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/1.411, allocations: 7.938 kB / 1.31 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003258/1.411, allocations: 35.86 kB / 1.31 GB, free: 15.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.03e-05/1.411, allocations: 12 kB / 1.31 GB, free: 15.39 MB / 1.014 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.0002112/1.411, allocations: 200.7 kB / 1.31 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/1.411, allocations: 59.61 kB / 1.31 GB, free: 15.12 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006944/1.412, allocations: 249.7 kB / 1.31 GB, free: 14.87 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.036e-05/1.412, allocations: 4 kB / 1.31 GB, free: 14.87 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/1.412, allocations: 0 / 1.31 GB, free: 14.87 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/1.412, allocations: 0 / 1.31 GB, free: 14.87 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001425/1.414, allocations: 0.714 MB / 1.311 GB, free: 14.09 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.657e-06/1.414, allocations: 4 kB / 1.311 GB, free: 14.09 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/1.414, allocations: 39.91 kB / 1.311 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/1.414, allocations: 4 kB / 1.311 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/1.414, allocations: 4 kB / 1.311 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/1.414, allocations: 0 / 1.311 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.213e-06/1.414, allocations: 4.125 kB / 1.311 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007594/1.415, allocations: 364.1 kB / 1.311 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001832/1.415, allocations: 79.59 kB / 1.311 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.298e-05/1.415, allocations: 4 kB / 1.311 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/1.415, allocations: 11.98 kB / 1.311 GB, free: 13.56 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.06e-05/1.415, allocations: 15.92 kB / 1.311 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/1.415, allocations: 4 kB / 1.311 GB, free: 13.54 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006441/1.416, allocations: 426.8 kB / 1.312 GB, free: 13.13 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/1.416, allocations: 3.938 kB / 1.312 GB, free: 13.12 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001048/1.417, allocations: 231.5 kB / 1.312 GB, free: 12.9 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 (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.002085/1.419, allocations: 495 kB / 1.313 GB, free: 12.54 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009745/1.42, allocations: 307.5 kB / 1.313 GB, free: 12.24 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/1.42, allocations: 1 kB / 1.313 GB, free: 12.24 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003173/1.42, allocations: 88.02 kB / 1.313 GB, free: 12.16 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/1.422, allocations: 257.8 kB / 1.313 GB, free: 11.91 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/1.423, allocations: 0.8172 MB / 1.314 GB, free: 11.05 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007552/1.424, allocations: 0.8428 MB / 1.315 GB, free: 10.18 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0004155/1.424, allocations: 104.2 kB / 1.315 GB, free: 10.08 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/1.425, allocations: 39.44 kB / 1.315 GB, free: 10.04 MB / 1.014 GB Notification: Performance of SimCode: time 1.172e-06/1.425, allocations: 4 kB / 1.315 GB, free: 10.04 MB / 1.014 GB Notification: Performance of Templates: time 0.02477/1.449, allocations: 10.43 MB / 1.325 GB, free: 15.75 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.590364119037986]