Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001688/0.001688, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.003021/0.003021, allocations: 207 kB / 22.99 MB, free: 4.957 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.678/1.678, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.421/3.421, allocations: 0.49 GB / 0.7959 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002146/0.002146, allocations: 67.75 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4536/0.4558, allocations: 176.1 MB / 1.327 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02109/0.4768, allocations: 16.35 MB / 1.343 GB, free: 0.5625 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.008377/0.4852, allocations: 4.684 MB / 1.348 GB, free: 11.86 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007234/0.486, allocations: 19.81 kB / 1.348 GB, free: 11.84 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001069/0.487, allocations: 262.3 kB / 1.348 GB, free: 11.59 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002104/0.4891, allocations: 0.6686 MB / 1.349 GB, free: 10.91 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002347/0.4915, allocations: 0.7599 MB / 1.349 GB, free: 10.16 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001463/0.4929, allocations: 0.9819 MB / 1.35 GB, free: 9.176 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005082/0.4934, allocations: 281.6 kB / 1.351 GB, free: 8.891 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009023/0.4943, allocations: 494 kB / 1.351 GB, free: 8.406 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004349/0.4948, allocations: 326.6 kB / 1.351 GB, free: 8.086 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.683e-05/0.4948, allocations: 28 kB / 1.351 GB, free: 8.059 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001256/0.4961, allocations: 0.6356 MB / 1.352 GB, free: 7.422 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001548/0.4963, allocations: 127.5 kB / 1.352 GB, free: 7.297 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002433/0.4965, allocations: 202.9 kB / 1.352 GB, free: 7.098 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001338/0.4978, allocations: 0.8679 MB / 1.353 GB, free: 6.227 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.4978, allocations: 4 kB / 1.353 GB, free: 6.223 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.964e-06/0.4978, allocations: 3.938 kB / 1.353 GB, free: 6.219 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.4979, allocations: 0 / 1.353 GB, free: 6.219 MB / 1.045 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.00154/0.4994, allocations: 0.8228 MB / 1.354 GB, free: 5.363 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.4994, allocations: 12.03 kB / 1.354 GB, free: 5.352 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002154/0.4997, allocations: 60.56 kB / 1.354 GB, free: 5.293 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008251/0.5005, allocations: 406.9 kB / 1.354 GB, free: 4.867 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.514e-05/0.5005, allocations: 24.44 kB / 1.354 GB, free: 4.844 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.139e-05/0.5006, allocations: 28 kB / 1.354 GB, free: 4.816 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005809/0.5012, allocations: 289.2 kB / 1.355 GB, free: 4.516 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.5012, allocations: 4 kB / 1.355 GB, free: 4.512 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.86e-05/0.5012, allocations: 12 kB / 1.355 GB, free: 4.5 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.5012, allocations: 4 kB / 1.355 GB, free: 4.496 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004447/0.5017, allocations: 185.8 kB / 1.355 GB, free: 4.312 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001916/0.5036, allocations: 1.17 MB / 1.356 GB, free: 3.094 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003358/0.5039, allocations: 150.8 kB / 1.356 GB, free: 2.938 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001865/0.5041, allocations: 82.81 kB / 1.356 GB, free: 2.855 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001298/0.5054, allocations: 0.5351 MB / 1.357 GB, free: 2.301 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.861e-05/0.5054, allocations: 34.56 kB / 1.357 GB, free: 2.258 MB / 1.045 GB Notification: Performance of pre-optimization done (n=15): time 1.333e-06/0.5054, allocations: 0 / 1.357 GB, free: 2.258 MB / 1.045 GB Notification: Performance of matching and sorting (n=15): time 0.0006643/0.5061, allocations: 245.2 kB / 1.357 GB, free: 2.012 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.5061, allocations: 59.41 kB / 1.357 GB, free: 1.941 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007026/0.5069, allocations: 0.5644 MB / 1.358 GB, free: 1.367 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.234e-05/0.5069, allocations: 33.64 kB / 1.358 GB, free: 1.328 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002627/0.5071, allocations: 276.3 kB / 1.358 GB, free: 1.055 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.215e-05/0.5072, allocations: 51.58 kB / 1.358 GB, free: 1.004 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.5073, allocations: 69.94 kB / 1.358 GB, free: 0.9258 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.5075, allocations: 362.7 kB / 1.358 GB, free: 0.5625 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.5077, allocations: 77.94 kB / 1.358 GB, free: 496 kB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004814/0.5082, allocations: 446 kB / 1.359 GB, free: 15.95 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004302/0.5086, allocations: 238.9 kB / 1.359 GB, free: 15.68 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.5086, allocations: 0 / 1.359 GB, free: 15.68 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006291/0.5092, allocations: 310.1 kB / 1.359 GB, free: 15.37 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.5093, allocations: 8 kB / 1.359 GB, free: 15.36 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.5093, allocations: 3.938 kB / 1.359 GB, free: 15.36 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.5093, allocations: 4 kB / 1.359 GB, free: 15.36 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002821/0.5096, allocations: 63.91 kB / 1.36 GB, free: 15.29 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.5096, allocations: 8.188 kB / 1.36 GB, free: 15.29 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003203/0.5099, allocations: 43.81 kB / 1.36 GB, free: 15.24 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.926e-05/0.5099, allocations: 16 kB / 1.36 GB, free: 15.23 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003443/0.5103, allocations: 212.6 kB / 1.36 GB, free: 15.02 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004649/0.5108, allocations: 441.8 kB / 1.36 GB, free: 14.48 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004297/0.5112, allocations: 234.5 kB / 1.36 GB, free: 14.22 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.878e-06/0.5112, allocations: 4 kB / 1.36 GB, free: 14.21 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006065/0.5118, allocations: 306.6 kB / 1.361 GB, free: 13.91 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.5118, allocations: 8 kB / 1.361 GB, free: 13.9 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.5118, allocations: 3.984 kB / 1.361 GB, free: 13.9 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.793e-06/0.5118, allocations: 7.938 kB / 1.361 GB, free: 13.89 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002407/0.5121, allocations: 67.89 kB / 1.361 GB, free: 13.82 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.5121, allocations: 8 kB / 1.361 GB, free: 13.82 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003219/0.5124, allocations: 31.88 kB / 1.361 GB, free: 13.79 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.143e-05/0.5124, allocations: 24.11 kB / 1.361 GB, free: 13.76 MB / 1.061 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.0001463/0.5126, allocations: 196.1 kB / 1.361 GB, free: 13.56 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.185e-05/0.5127, allocations: 51.67 kB / 1.361 GB, free: 13.51 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005966/0.5133, allocations: 262.9 kB / 1.361 GB, free: 13.25 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/0.5133, allocations: 4 kB / 1.361 GB, free: 13.24 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.5133, allocations: 0 / 1.361 GB, free: 13.24 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.5133, allocations: 0 / 1.361 GB, free: 13.24 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.5143, allocations: 0.6473 MB / 1.362 GB, free: 12.55 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.5143, allocations: 0 / 1.362 GB, free: 12.55 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/0.5145, allocations: 27.98 kB / 1.362 GB, free: 12.52 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.5145, allocations: 0 / 1.362 GB, free: 12.52 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.279e-05/0.5145, allocations: 11.98 kB / 1.362 GB, free: 12.51 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.5145, allocations: 3.938 kB / 1.362 GB, free: 12.5 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.5145, allocations: 4.188 kB / 1.362 GB, free: 12.5 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005392/0.515, allocations: 358.5 kB / 1.362 GB, free: 12.12 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/0.5152, allocations: 71.56 kB / 1.362 GB, free: 12.05 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.59e-05/0.5152, allocations: 3.984 kB / 1.362 GB, free: 12.05 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/0.5154, allocations: 12 kB / 1.362 GB, free: 12.04 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.462e-05/0.5155, allocations: 19.91 kB / 1.362 GB, free: 12.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.5155, allocations: 12 kB / 1.362 GB, free: 12 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004809/0.516, allocations: 402.8 kB / 1.363 GB, free: 11.61 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.516, allocations: 0 / 1.363 GB, free: 11.61 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0008083/0.5168, allocations: 243.5 kB / 1.363 GB, free: 11.38 MB / 1.061 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.001791/0.5186, allocations: 0.4977 MB / 1.364 GB, free: 11.02 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007514/0.5193, allocations: 312.7 kB / 1.364 GB, free: 10.72 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.5193, allocations: 0 / 1.364 GB, free: 10.72 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002104/0.5195, allocations: 88.83 kB / 1.364 GB, free: 10.63 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.5207, allocations: 223.9 kB / 1.364 GB, free: 10.42 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.5222, allocations: 0.8132 MB / 1.365 GB, free: 9.566 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/0.5225, allocations: 242.1 kB / 1.365 GB, free: 9.301 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003005/0.5228, allocations: 100.1 kB / 1.365 GB, free: 9.203 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.992e-05/0.5229, allocations: 39.42 kB / 1.365 GB, free: 9.164 MB / 1.061 GB Notification: Performance of SimCode: time 5.21e-07/0.5229, allocations: 0 / 1.365 GB, free: 9.164 MB / 1.061 GB Notification: Performance of Templates: time 0.02011/0.543, allocations: 10.93 MB / 1.376 GB, free: 14.47 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.603806037994218]