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.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.001393/0.001393, allocations: 78.17 kB / 19.76 MB, free: 2.031 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.001516/0.001516, allocations: 158.1 kB / 23.01 MB, free: 4.945 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.549/1.549, allocations: 177.2 MB / 203.4 MB, free: 8.941 MB / 190.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.722/2.722, allocations: 359.1 MB / 0.6044 GB, free: 14.83 MB / 0.5762 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.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_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: 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.003191/0.003191, allocations: 59.91 kB / 0.9515 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4347/0.4379, allocations: 169.9 MB / 1.117 GB, free: 2.5 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02175/0.4597, allocations: 16.35 MB / 1.133 GB, free: 2.082 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.8798/1.339, allocations: 4.686 MB / 1.138 GB, free: 43.3 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007054/1.34, allocations: 20.59 kB / 1.138 GB, free: 43.3 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001028/1.341, allocations: 263.4 kB / 1.138 GB, free: 43.3 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002024/1.343, allocations: 0.6787 MB / 1.139 GB, free: 43.29 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002268/1.345, allocations: 0.7361 MB / 1.14 GB, free: 43.27 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001306/1.347, allocations: 0.9924 MB / 1.141 GB, free: 43.27 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000424/1.347, allocations: 288.5 kB / 1.141 GB, free: 43.26 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006814/1.348, allocations: 447 kB / 1.141 GB, free: 43.24 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004037/1.348, allocations: 320.9 kB / 1.142 GB, free: 43.18 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 6.567e-05/1.348, allocations: 29.31 kB / 1.142 GB, free: 43.18 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001105/1.349, allocations: 0.6081 MB / 1.142 GB, free: 43.17 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001297/1.35, allocations: 136.7 kB / 1.142 GB, free: 43.15 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001985/1.35, allocations: 198 kB / 1.143 GB, free: 43.08 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001276/1.351, allocations: 0.8753 MB / 1.143 GB, free: 42.95 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/1.351, allocations: 0 / 1.143 GB, free: 42.95 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.324e-06/1.351, allocations: 0 / 1.143 GB, free: 42.95 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.248e-06/1.351, allocations: 3.219 kB / 1.143 GB, free: 42.95 MB / 1.076 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.001274/1.352, allocations: 0.8334 MB / 1.144 GB, free: 42.41 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/1.352, allocations: 8.344 kB / 1.144 GB, free: 42.41 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001821/1.353, allocations: 68.3 kB / 1.144 GB, free: 42.37 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006952/1.353, allocations: 410.8 kB / 1.145 GB, free: 42.16 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/1.353, allocations: 24.34 kB / 1.145 GB, free: 42.16 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.508e-05/1.353, allocations: 34.12 kB / 1.145 GB, free: 42.16 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004728/1.354, allocations: 281.5 kB / 1.145 GB, free: 42.08 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/1.354, allocations: 0 / 1.145 GB, free: 42.08 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.41e-05/1.354, allocations: 13.25 kB / 1.145 GB, free: 42.08 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/1.354, allocations: 5.625 kB / 1.145 GB, free: 42.08 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004093/1.354, allocations: 191 kB / 1.145 GB, free: 42.07 MB / 1.076 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.001493/1.356, allocations: 1.175 MB / 1.146 GB, free: 41.44 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000308/1.356, allocations: 155.4 kB / 1.147 GB, free: 41.41 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001622/1.356, allocations: 74.75 kB / 1.147 GB, free: 41.4 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001104/1.357, allocations: 0.5337 MB / 1.147 GB, free: 41.15 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.466e-05/1.357, allocations: 36.5 kB / 1.147 GB, free: 41.11 MB / 1.076 GB Notification: Performance of pre-optimization done (n=15): time 1.272e-06/1.357, allocations: 0 / 1.147 GB, free: 41.11 MB / 1.076 GB Notification: Performance of matching and sorting (n=15): time 0.00058/1.358, allocations: 260.1 kB / 1.147 GB, free: 41.04 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/1.358, allocations: 51.41 kB / 1.147 GB, free: 40.97 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004967/1.358, allocations: 0.5676 MB / 1.148 GB, free: 40.85 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/1.358, allocations: 32.08 kB / 1.148 GB, free: 40.82 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/1.359, allocations: 269.7 kB / 1.148 GB, free: 40.68 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/1.359, allocations: 60.98 kB / 1.148 GB, free: 40.65 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.56e-05/1.359, allocations: 73.7 kB / 1.148 GB, free: 40.62 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 8.384e-05/1.359, allocations: 352.4 kB / 1.149 GB, free: 40.31 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/1.359, allocations: 79.05 kB / 1.149 GB, free: 40.3 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002939/1.359, allocations: 446.5 kB / 1.149 GB, free: 39.89 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003534/1.36, allocations: 243.7 kB / 1.149 GB, free: 39.79 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/1.36, allocations: 2.688 kB / 1.149 GB, free: 39.79 MB / 1.076 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005158/1.36, allocations: 309.8 kB / 1.15 GB, free: 39.71 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/1.36, allocations: 9.328 kB / 1.15 GB, free: 39.71 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/1.36, allocations: 2.812 kB / 1.15 GB, free: 39.71 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/1.36, allocations: 6.688 kB / 1.15 GB, free: 39.7 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002464/1.36, allocations: 63.36 kB / 1.15 GB, free: 39.7 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/1.36, allocations: 2.781 kB / 1.15 GB, free: 39.7 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002981/1.361, allocations: 39.52 kB / 1.15 GB, free: 39.69 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.245e-05/1.361, allocations: 12.41 kB / 1.15 GB, free: 39.69 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002775/1.361, allocations: 221.5 kB / 1.15 GB, free: 39.6 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002586/1.361, allocations: 443.9 kB / 1.151 GB, free: 39.19 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003257/1.362, allocations: 230.3 kB / 1.151 GB, free: 39.09 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.763e-06/1.362, allocations: 0 / 1.151 GB, free: 39.09 MB / 1.076 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005173/1.362, allocations: 308.5 kB / 1.151 GB, free: 39.02 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/1.362, allocations: 5.688 kB / 1.151 GB, free: 39.02 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/1.362, allocations: 3.156 kB / 1.151 GB, free: 39.02 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.008e-06/1.362, allocations: 6.844 kB / 1.151 GB, free: 39.01 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/1.362, allocations: 60.98 kB / 1.151 GB, free: 39.01 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/1.362, allocations: 11.78 kB / 1.151 GB, free: 39 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003216/1.363, allocations: 39.44 kB / 1.151 GB, free: 38.99 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.204e-05/1.363, allocations: 11.69 kB / 1.151 GB, free: 38.99 MB / 1.076 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 9.35e-05/1.363, allocations: 204.6 kB / 1.151 GB, free: 38.8 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.293e-05/1.363, allocations: 52.77 kB / 1.151 GB, free: 38.78 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005166/1.363, allocations: 255.8 kB / 1.152 GB, free: 38.73 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/1.363, allocations: 7.031 kB / 1.152 GB, free: 38.72 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/1.363, allocations: 0 / 1.152 GB, free: 38.72 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/1.363, allocations: 0.6562 kB / 1.152 GB, free: 38.72 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000901/1.364, allocations: 0.6412 MB / 1.152 GB, free: 38.44 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.421e-06/1.364, allocations: 7.188 kB / 1.152 GB, free: 38.44 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/1.365, allocations: 37.67 kB / 1.152 GB, free: 38.43 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/1.365, allocations: 0 / 1.152 GB, free: 38.43 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/1.365, allocations: 6.875 kB / 1.152 GB, free: 38.43 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/1.365, allocations: 2.688 kB / 1.152 GB, free: 38.43 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.365, allocations: 3.094 kB / 1.152 GB, free: 38.43 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004493/1.365, allocations: 364.3 kB / 1.153 GB, free: 38.23 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/1.365, allocations: 70.94 kB / 1.153 GB, free: 38.2 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.887e-05/1.365, allocations: 6.938 kB / 1.153 GB, free: 38.2 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001915/1.365, allocations: 10.83 kB / 1.153 GB, free: 38.2 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.923e-05/1.365, allocations: 13.59 kB / 1.153 GB, free: 38.2 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/1.365, allocations: 7.406 kB / 1.153 GB, free: 38.2 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003976/1.366, allocations: 404.9 kB / 1.153 GB, free: 38.12 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.366, allocations: 0 / 1.153 GB, free: 38.12 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008137/1.367, allocations: 241.5 kB / 1.153 GB, free: 38.08 MB / 1.076 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.001746/1.368, allocations: 0.5056 MB / 1.154 GB, free: 37.91 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0006645/1.369, allocations: 307.2 kB / 1.154 GB, free: 37.84 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/1.369, allocations: 2.375 kB / 1.154 GB, free: 37.84 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001643/1.369, allocations: 80.48 kB / 1.154 GB, free: 37.82 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/1.37, allocations: 238.5 kB / 1.155 GB, free: 37.76 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/1.372, allocations: 0.8268 MB / 1.155 GB, free: 37.28 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/1.372, allocations: 246.3 kB / 1.156 GB, free: 37.19 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002798/1.372, allocations: 99.56 kB / 1.156 GB, free: 37.16 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.821e-05/1.372, allocations: 43.3 kB / 1.156 GB, free: 37.15 MB / 1.076 GB Notification: Performance of SimCode: time 6.01e-07/1.372, allocations: 0 / 1.156 GB, free: 37.15 MB / 1.076 GB Notification: Performance of Templates: time 0.01607/1.388, allocations: 10.24 MB / 1.166 GB, free: 35.94 MB / 1.076 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 -s ida -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/jenkins1/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.001687441021204]