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.001749/0.001749, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.002364/0.002364, allocations: 200.5 kB / 22.17 MB, free: 5.211 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.476/1.476, allocations: 225.6 MB / 250.9 MB, free: 13.27 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.829/2.829, allocations: 476.7 MB / 0.7645 GB, free: 10.08 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.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.002074/0.002074, allocations: 71.89 kB / 1.109 GB, free: 6.539 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8689/0.871, allocations: 168.7 MB / 1.274 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.03097/0.902, allocations: 17.77 MB / 1.291 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01095/0.9129, allocations: 4.964 MB / 1.296 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008118/0.9137, allocations: 15.94 kB / 1.296 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001251/0.915, allocations: 262.3 kB / 1.297 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00284/0.9178, allocations: 0.6375 MB / 1.297 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002901/0.9207, allocations: 0.7442 MB / 1.298 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002129/0.9229, allocations: 0.9702 MB / 1.299 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007464/0.9236, allocations: 285 kB / 1.299 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001233/0.9248, allocations: 434.3 kB / 1.3 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007944/0.9256, allocations: 326.6 kB / 1.3 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001167/0.9257, allocations: 32 kB / 1.3 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002209/0.928, allocations: 0.7369 MB / 1.301 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002364/0.9282, allocations: 135.5 kB / 1.301 GB, free: 9.172 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004593/0.9286, allocations: 246.6 kB / 1.301 GB, free: 8.93 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002204/0.9309, allocations: 0.8795 MB / 1.302 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.9309, allocations: 0 / 1.302 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9309, allocations: 0 / 1.302 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.5e-05/0.9309, allocations: 0 / 1.302 GB, free: 8.047 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.001797/0.9327, allocations: 0.9059 MB / 1.303 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.9327, allocations: 12.03 kB / 1.303 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002167/0.9329, allocations: 60.56 kB / 1.303 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008921/0.9338, allocations: 474.1 kB / 1.303 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.151e-05/0.9339, allocations: 24.5 kB / 1.303 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.509e-05/0.9339, allocations: 28 kB / 1.303 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005558/0.9345, allocations: 282.2 kB / 1.304 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.9345, allocations: 3.938 kB / 1.304 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.639e-05/0.9345, allocations: 12 kB / 1.304 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.9345, allocations: 4 kB / 1.304 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004566/0.935, allocations: 190 kB / 1.304 GB, free: 5.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.002431/0.9374, allocations: 1.476 MB / 1.305 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003732/0.9378, allocations: 164.2 kB / 1.305 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001883/0.938, allocations: 76.81 kB / 1.305 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001923/0.9399, allocations: 1.272 MB / 1.307 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.9399, allocations: 38.5 kB / 1.307 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.433e-06/0.9399, allocations: 0 / 1.307 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0007378/0.9407, allocations: 263.9 kB / 1.307 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.544e-05/0.9407, allocations: 51.41 kB / 1.307 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007739/0.9415, allocations: 0.5809 MB / 1.308 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.786e-05/0.9415, allocations: 37.69 kB / 1.308 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002582/0.9418, allocations: 264.5 kB / 1.308 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.661e-05/0.9418, allocations: 59.52 kB / 1.308 GB, free: 1.348 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.942, allocations: 69.94 kB / 1.308 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001954/0.9422, allocations: 358.8 kB / 1.308 GB, free: 0.9102 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/0.9424, allocations: 85.92 kB / 1.308 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003403/0.9427, allocations: 210.7 kB / 1.309 GB, free: 0.5703 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004651/0.9432, allocations: 228 kB / 1.309 GB, free: 324 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.9432, allocations: 0 / 1.309 GB, free: 324 kB / 0.9981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007169/0.9439, allocations: 317 kB / 1.309 GB, free: 0 / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.18e-05/0.9439, allocations: 12.14 kB / 1.309 GB, free: 15.98 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.9439, allocations: 0 / 1.309 GB, free: 15.98 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.944, allocations: 4 kB / 1.309 GB, free: 15.98 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002737/0.9442, allocations: 63.91 kB / 1.309 GB, free: 15.92 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.9442, allocations: 4 kB / 1.309 GB, free: 15.91 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003521/0.9446, allocations: 43.97 kB / 1.309 GB, free: 15.87 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.016e-05/0.9446, allocations: 23.98 kB / 1.309 GB, free: 15.85 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003535/0.945, allocations: 212.6 kB / 1.309 GB, free: 15.64 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003253/0.9453, allocations: 210.9 kB / 1.31 GB, free: 15.38 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004372/0.9458, allocations: 231.3 kB / 1.31 GB, free: 15.12 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.847e-06/0.9458, allocations: 4 kB / 1.31 GB, free: 15.12 MB / 1.014 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006305/0.9464, allocations: 315.3 kB / 1.31 GB, free: 14.81 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.9464, allocations: 8 kB / 1.31 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.9464, allocations: 4 kB / 1.31 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.975e-06/0.9464, allocations: 7.938 kB / 1.31 GB, free: 14.79 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002323/0.9466, allocations: 67.83 kB / 1.31 GB, free: 14.72 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.9467, allocations: 4 kB / 1.31 GB, free: 14.72 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003598/0.947, allocations: 36.09 kB / 1.31 GB, free: 14.68 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.071e-05/0.9471, allocations: 15.98 kB / 1.31 GB, free: 14.67 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.0001619/0.9472, allocations: 200.1 kB / 1.31 GB, free: 14.46 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.9473, allocations: 55.8 kB / 1.311 GB, free: 14.41 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006124/0.9479, allocations: 261.7 kB / 1.311 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.9479, allocations: 7.938 kB / 1.311 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.948, allocations: 4 kB / 1.311 GB, free: 14.13 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.948, allocations: 0 / 1.311 GB, free: 14.13 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.9491, allocations: 0.7278 MB / 1.312 GB, free: 13.34 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.311e-06/0.9491, allocations: 4 kB / 1.312 GB, free: 13.33 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001445/0.9493, allocations: 40.03 kB / 1.312 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.369e-06/0.9493, allocations: 0 / 1.312 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.9493, allocations: 8 kB / 1.312 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.9493, allocations: 0 / 1.312 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.9493, allocations: 4 kB / 1.312 GB, free: 13.28 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005443/0.9499, allocations: 354.4 kB / 1.312 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001876/0.9501, allocations: 148.7 kB / 1.312 GB, free: 12.74 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.792e-05/0.9501, allocations: 0 / 1.312 GB, free: 12.74 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002014/0.9503, allocations: 15.98 kB / 1.312 GB, free: 12.73 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-05/0.9504, allocations: 11.98 kB / 1.312 GB, free: 12.71 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.9504, allocations: 11.94 kB / 1.312 GB, free: 12.7 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005723/0.9509, allocations: 418.8 kB / 1.312 GB, free: 12.3 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.9509, allocations: 0 / 1.312 GB, free: 12.3 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007945/0.9517, allocations: 235.6 kB / 1.313 GB, free: 12.07 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.001679/0.9534, allocations: 0.5043 MB / 1.313 GB, free: 11.71 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007753/0.9542, allocations: 310.1 kB / 1.313 GB, free: 11.41 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.9542, allocations: 0 / 1.313 GB, free: 11.41 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000198/0.9544, allocations: 79.88 kB / 1.314 GB, free: 11.33 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/0.9557, allocations: 255.9 kB / 1.314 GB, free: 11.08 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.9572, allocations: 0.8123 MB / 1.315 GB, free: 10.23 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005526/0.9577, allocations: 0.8506 MB / 1.315 GB, free: 9.348 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003152/0.9581, allocations: 100.2 kB / 1.316 GB, free: 9.25 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.917e-05/0.9581, allocations: 35.44 kB / 1.316 GB, free: 9.215 MB / 1.014 GB Notification: Performance of SimCode: time 8.71e-07/0.9581, allocations: 0 / 1.316 GB, free: 9.215 MB / 1.014 GB Notification: Performance of Templates: time 0.01996/0.9781, allocations: 10.37 MB / 1.326 GB, free: 14.99 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 -s cvode -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_2/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: 9.442047318909317]