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.001735/0.001735, allocations: 110.5 kB / 17.6 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.001704/0.001704, allocations: 186.8 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.544/1.544, allocations: 225.6 MB / 249.4 MB, free: 3.32 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 3.066/3.066, allocations: 476.7 MB / 0.7629 GB, free: 15.21 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.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.002004/0.002004, allocations: 75.86 kB / 1.107 GB, free: 4.629 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.171/1.173, allocations: 168.7 MB / 1.272 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02479/1.198, allocations: 17.76 MB / 1.289 GB, free: 11.37 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01019/1.208, allocations: 4.97 MB / 1.294 GB, free: 7.891 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001182/1.209, allocations: 14.56 kB / 1.294 GB, free: 7.883 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001223/1.211, allocations: 266.6 kB / 1.294 GB, free: 7.727 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002603/1.213, allocations: 0.6362 MB / 1.295 GB, free: 7.363 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003096/1.216, allocations: 0.7466 MB / 1.296 GB, free: 6.988 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002107/1.218, allocations: 0.964 MB / 1.297 GB, free: 6.551 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00062/1.219, allocations: 287.1 kB / 1.297 GB, free: 6.41 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001052/1.22, allocations: 426.4 kB / 1.297 GB, free: 6.223 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005948/1.221, allocations: 329.6 kB / 1.298 GB, free: 6.082 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.605e-05/1.221, allocations: 31.62 kB / 1.298 GB, free: 6.082 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002052/1.223, allocations: 0.7396 MB / 1.298 GB, free: 5.836 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001971/1.223, allocations: 136.1 kB / 1.299 GB, free: 5.77 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0003397/1.223, allocations: 238.4 kB / 1.299 GB, free: 5.629 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002182/1.225, allocations: 0.8892 MB / 1.3 GB, free: 5.297 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.575e-06/1.225, allocations: 3.938 kB / 1.3 GB, free: 5.293 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.375e-06/1.225, allocations: 0 / 1.3 GB, free: 5.293 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.235e-05/1.225, allocations: 0 / 1.3 GB, free: 5.293 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001703/1.227, allocations: 0.8996 MB / 1.301 GB, free: 4.586 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/1.227, allocations: 12.5 kB / 1.301 GB, free: 4.586 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002304/1.227, allocations: 65.62 kB / 1.301 GB, free: 4.551 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009736/1.228, allocations: 463.5 kB / 1.301 GB, free: 4.223 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.944e-05/1.228, allocations: 25.95 kB / 1.301 GB, free: 4.211 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.664e-05/1.229, allocations: 31.44 kB / 1.301 GB, free: 4.199 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006722/1.229, allocations: 281.6 kB / 1.301 GB, free: 4.055 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/1.229, allocations: 0 / 1.301 GB, free: 4.055 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.292e-05/1.229, allocations: 15.22 kB / 1.301 GB, free: 4.043 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.906e-05/1.229, allocations: 7.281 kB / 1.301 GB, free: 4.043 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004963/1.23, allocations: 189 kB / 1.302 GB, free: 3.984 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.003036/1.233, allocations: 1.473 MB / 1.303 GB, free: 2.871 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004769/1.233, allocations: 163.6 kB / 1.303 GB, free: 2.793 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002341/1.234, allocations: 81.56 kB / 1.303 GB, free: 2.762 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001984/1.236, allocations: 1.266 MB / 1.305 GB, free: 1.539 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.173e-05/1.236, allocations: 44.58 kB / 1.305 GB, free: 1.488 MB / 1.014 GB Notification: Performance of pre-optimization done (n=15): time 1.833e-06/1.236, allocations: 0 / 1.305 GB, free: 1.488 MB / 1.014 GB Notification: Performance of matching and sorting (n=15): time 0.0008152/1.236, allocations: 256.3 kB / 1.305 GB, free: 1.379 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/1.236, allocations: 53.94 kB / 1.305 GB, free: 1.316 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/1.237, allocations: 0.5837 MB / 1.305 GB, free: 1.062 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.868e-05/1.237, allocations: 32.02 kB / 1.305 GB, free: 1.027 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003097/1.238, allocations: 273.6 kB / 1.306 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.685e-05/1.238, allocations: 55.66 kB / 1.306 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/1.238, allocations: 70.2 kB / 1.306 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000246/1.238, allocations: 357.2 kB / 1.306 GB, free: 392 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002072/1.238, allocations: 83.31 kB / 1.306 GB, free: 360 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003681/1.239, allocations: 214.2 kB / 1.306 GB, free: 188 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004752/1.239, allocations: 232 kB / 1.307 GB, free: 32 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/1.239, allocations: 1.156 kB / 1.307 GB, free: 32 kB / 1.014 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007337/1.24, allocations: 315.8 kB / 1.307 GB, free: 15.89 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/1.24, allocations: 10.12 kB / 1.307 GB, free: 15.89 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/1.24, allocations: 2.688 kB / 1.307 GB, free: 15.89 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-05/1.24, allocations: 4.719 kB / 1.307 GB, free: 15.89 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000276/1.24, allocations: 60.84 kB / 1.307 GB, free: 15.88 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.771e-05/1.24, allocations: 8.75 kB / 1.307 GB, free: 15.88 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003475/1.241, allocations: 45.22 kB / 1.307 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.303e-05/1.241, allocations: 16.25 kB / 1.307 GB, free: 15.85 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003725/1.241, allocations: 213.7 kB / 1.307 GB, free: 15.73 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003486/1.241, allocations: 209.9 kB / 1.308 GB, free: 15.56 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004381/1.242, allocations: 238 kB / 1.308 GB, free: 15.4 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.815e-06/1.242, allocations: 1.312 kB / 1.308 GB, free: 15.4 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006736/1.243, allocations: 307.7 kB / 1.308 GB, free: 15.27 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/1.243, allocations: 7.359 kB / 1.308 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/1.243, allocations: 6.719 kB / 1.308 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.945e-06/1.243, allocations: 7.922 kB / 1.308 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/1.243, allocations: 63.94 kB / 1.308 GB, free: 15.26 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/1.243, allocations: 5.203 kB / 1.308 GB, free: 15.26 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003491/1.243, allocations: 38.14 kB / 1.308 GB, free: 15.24 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.878e-05/1.243, allocations: 15.91 kB / 1.308 GB, free: 15.24 MB / 1.029 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.0001758/1.243, allocations: 199.5 kB / 1.308 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/1.244, allocations: 58.52 kB / 1.308 GB, free: 15.01 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00067/1.244, allocations: 263.6 kB / 1.309 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/1.244, allocations: 2.984 kB / 1.309 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/1.244, allocations: 4.75 kB / 1.309 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/1.244, allocations: 4.5 kB / 1.309 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001379/1.246, allocations: 0.7345 MB / 1.309 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/1.246, allocations: 1.125 kB / 1.309 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001354/1.246, allocations: 33.19 kB / 1.309 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.768e-06/1.246, allocations: 2.5 kB / 1.309 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/1.246, allocations: 8.234 kB / 1.309 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/1.246, allocations: 1.344 kB / 1.309 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/1.246, allocations: 6.719 kB / 1.309 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005887/1.246, allocations: 355.6 kB / 1.31 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001853/1.247, allocations: 146.3 kB / 1.31 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.954e-05/1.247, allocations: 4.203 kB / 1.31 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/1.247, allocations: 11.98 kB / 1.31 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.408e-05/1.247, allocations: 20.23 kB / 1.31 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.132e-05/1.247, allocations: 13.67 kB / 1.31 GB, free: 13.99 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006903/1.248, allocations: 416.6 kB / 1.31 GB, free: 13.82 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/1.248, allocations: 1.5 kB / 1.31 GB, free: 13.82 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0009768/1.249, allocations: 233.7 kB / 1.311 GB, free: 13.77 MB / 1.029 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.001779/1.25, allocations: 497.9 kB / 1.311 GB, free: 13.54 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000963/1.251, allocations: 308.1 kB / 1.311 GB, free: 13.46 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/1.251, allocations: 0 / 1.311 GB, free: 13.46 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002322/1.252, allocations: 83.08 kB / 1.311 GB, free: 13.43 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/1.253, allocations: 258.8 kB / 1.312 GB, free: 13.35 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001759/1.255, allocations: 0.8237 MB / 1.313 GB, free: 12.88 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006798/1.255, allocations: 0.8531 MB / 1.313 GB, free: 12.15 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000467/1.256, allocations: 98.33 kB / 1.313 GB, free: 12.13 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/1.256, allocations: 38.09 kB / 1.313 GB, free: 12.12 MB / 1.029 GB Notification: Performance of SimCode: time 8.22e-07/1.256, allocations: 0 / 1.313 GB, free: 12.12 MB / 1.029 GB Notification: Performance of Templates: time 0.02905/1.285, allocations: 10.37 MB / 1.324 GB, free: 11.24 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.194625990465283]