Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.001416/0.001416, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.001547/0.001547, allocations: 216.1 kB / 23 MB, free: 4.969 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.539/1.539, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.42/3.42, allocations: 0.49 GB / 0.7959 GB, free: 35.53 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.TwoWayValvesTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") [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.002076/0.002076, allocations: 67.31 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4403/0.4423, allocations: 176.1 MB / 1.327 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.019/0.4613, allocations: 14.51 MB / 1.341 GB, free: 2.453 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.007365/0.4687, allocations: 4.117 MB / 1.345 GB, free: 14.33 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007534/0.4695, allocations: 23.75 kB / 1.345 GB, free: 14.3 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001094/0.4706, allocations: 258.4 kB / 1.346 GB, free: 14.05 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.00223/0.4728, allocations: 0.672 MB / 1.346 GB, free: 13.38 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002175/0.475, allocations: 0.7266 MB / 1.347 GB, free: 12.66 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001554/0.4765, allocations: 1.04 MB / 1.348 GB, free: 11.61 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000509/0.477, allocations: 273.2 kB / 1.348 GB, free: 11.34 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00093/0.478, allocations: 0.4903 MB / 1.349 GB, free: 10.84 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004651/0.4784, allocations: 322.5 kB / 1.349 GB, free: 10.53 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.487e-05/0.4785, allocations: 28 kB / 1.349 GB, free: 10.5 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001178/0.4797, allocations: 0.5537 MB / 1.35 GB, free: 9.945 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.4798, allocations: 107.6 kB / 1.35 GB, free: 9.84 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002158/0.48, allocations: 183 kB / 1.35 GB, free: 9.66 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001243/0.4813, allocations: 0.7588 MB / 1.351 GB, free: 8.898 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4813, allocations: 0 / 1.351 GB, free: 8.898 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.034e-06/0.4813, allocations: 0 / 1.351 GB, free: 8.898 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.4813, allocations: 0 / 1.351 GB, free: 8.898 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001416/0.4827, allocations: 0.7724 MB / 1.351 GB, free: 8.09 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.4827, allocations: 12.03 kB / 1.351 GB, free: 8.078 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.4829, allocations: 52.61 kB / 1.351 GB, free: 8.027 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00079/0.4836, allocations: 366.7 kB / 1.352 GB, free: 7.645 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.4837, allocations: 20.44 kB / 1.352 GB, free: 7.625 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.706e-05/0.4837, allocations: 28 kB / 1.352 GB, free: 7.598 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004866/0.4842, allocations: 219.2 kB / 1.352 GB, free: 7.375 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.4842, allocations: 0 / 1.352 GB, free: 7.375 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.635e-05/0.4843, allocations: 8 kB / 1.352 GB, free: 7.367 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.4843, allocations: 8 kB / 1.352 GB, free: 7.359 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004079/0.4847, allocations: 161.6 kB / 1.352 GB, free: 7.203 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001663/0.4863, allocations: 0.71 MB / 1.353 GB, free: 6.457 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003125/0.4866, allocations: 122.5 kB / 1.353 GB, free: 6.328 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000168/0.4868, allocations: 72.81 kB / 1.353 GB, free: 6.254 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001625/0.487, allocations: 35.97 kB / 1.353 GB, free: 6.219 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.487, allocations: 34.56 kB / 1.353 GB, free: 6.176 MB / 1.045 GB Notification: Performance of pre-optimization done (n=14): time 1.754e-06/0.487, allocations: 0 / 1.353 GB, free: 6.176 MB / 1.045 GB Notification: Performance of matching and sorting (n=14): time 0.0006959/0.4877, allocations: 233.3 kB / 1.353 GB, free: 5.941 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.4877, allocations: 51.41 kB / 1.353 GB, free: 5.879 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005447/0.4883, allocations: 445.8 kB / 1.354 GB, free: 5.438 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.675e-05/0.4883, allocations: 33.7 kB / 1.354 GB, free: 5.398 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002186/0.4885, allocations: 232.7 kB / 1.354 GB, free: 5.168 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.899e-05/0.4886, allocations: 55.52 kB / 1.354 GB, free: 5.113 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.4887, allocations: 69.64 kB / 1.354 GB, free: 5.039 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001836/0.4889, allocations: 350.8 kB / 1.354 GB, free: 4.688 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002009/0.4891, allocations: 72.81 kB / 1.355 GB, free: 4.613 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004467/0.4896, allocations: 410.5 kB / 1.355 GB, free: 4.125 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003948/0.49, allocations: 160.5 kB / 1.355 GB, free: 3.961 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.49, allocations: 3.938 kB / 1.355 GB, free: 3.957 MB / 1.045 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005603/0.4905, allocations: 261.2 kB / 1.355 GB, free: 3.695 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.4905, allocations: 4 kB / 1.355 GB, free: 3.691 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.4905, allocations: 0 / 1.355 GB, free: 3.691 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/0.4906, allocations: 4 kB / 1.355 GB, free: 3.688 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002519/0.4908, allocations: 47.91 kB / 1.355 GB, free: 3.641 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.4908, allocations: 4 kB / 1.355 GB, free: 3.637 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003061/0.4911, allocations: 31.86 kB / 1.355 GB, free: 3.605 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.681e-05/0.4912, allocations: 8 kB / 1.355 GB, free: 3.598 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003245/0.4915, allocations: 196.1 kB / 1.356 GB, free: 3.402 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004316/0.4919, allocations: 412 kB / 1.356 GB, free: 2.906 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003511/0.4923, allocations: 175.9 kB / 1.356 GB, free: 2.723 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.433e-06/0.4923, allocations: 0 / 1.356 GB, free: 2.723 MB / 1.045 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005525/0.4928, allocations: 253.4 kB / 1.356 GB, free: 2.469 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/0.4928, allocations: 9.719 kB / 1.356 GB, free: 2.461 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.4929, allocations: 3.984 kB / 1.356 GB, free: 2.457 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.841e-06/0.4929, allocations: 4 kB / 1.356 GB, free: 2.453 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002181/0.4931, allocations: 47.91 kB / 1.357 GB, free: 2.406 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.634e-06/0.4931, allocations: 4 kB / 1.357 GB, free: 2.402 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000321/0.4934, allocations: 31.92 kB / 1.357 GB, free: 2.371 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.4934, allocations: 8 kB / 1.357 GB, free: 2.363 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * 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.0001847/0.4936, allocations: 204.2 kB / 1.357 GB, free: 2.156 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.497e-05/0.4937, allocations: 43.72 kB / 1.357 GB, free: 2.113 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006534/0.4943, allocations: 248.9 kB / 1.357 GB, free: 1.859 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.4944, allocations: 4 kB / 1.357 GB, free: 1.855 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.4944, allocations: 3.938 kB / 1.357 GB, free: 1.852 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.4945, allocations: 51.67 kB / 1.357 GB, free: 1.801 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.222e-05/0.4945, allocations: 8 kB / 1.357 GB, free: 1.793 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.4947, allocations: 15.97 kB / 1.357 GB, free: 1.777 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.041e-05/0.4948, allocations: 15.92 kB / 1.357 GB, free: 1.762 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005053/0.4953, allocations: 280.2 kB / 1.357 GB, free: 1.484 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005604/0.4959, allocations: 392.1 kB / 1.358 GB, free: 1.086 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001866/0.4961, allocations: 75.88 kB / 1.358 GB, free: 1.012 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004218/0.4965, allocations: 315.1 kB / 1.358 GB, free: 0.707 MB / 1.045 GB Notification: Performance of Backend: time 6.41e-07/0.4965, allocations: 0 / 1.358 GB, free: 0.707 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003683/0.5002, allocations: 0.8029 MB / 1.359 GB, free: 116 kB / 1.045 GB Notification: Performance of SimCode: time 0.002205/0.5024, allocations: 1.227 MB / 1.36 GB, free: 14.84 MB / 1.061 GB Notification: Performance of Templates: time 0.02103/0.5234, allocations: 10.37 MB / 1.37 GB, free: 4.641 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.552496895004879]