Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001605/0.001605, allocations: 103.5 kB / 18.05 MB, free: 4.32 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00196/0.00196, allocations: 186 kB / 21.17 MB, free: 1.211 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.543/1.543, allocations: 225.6 MB / 249.7 MB, free: 3.242 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.675/2.675, allocations: 443.5 MB / 0.7307 GB, free: 14 MB / 0.5762 GB [Timeout remaining time 87] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.TwoWayValvesTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 67.88 kB / 1.059 GB, free: 0.7344 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3453, allocations: 160.7 MB / 1.216 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01892/0.3642, allocations: 15.66 MB / 1.231 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0071/0.3713, allocations: 4.35 MB / 1.236 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004979/0.3718, allocations: 15.88 kB / 1.236 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009483/0.3727, allocations: 274.3 kB / 1.236 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001637/0.3744, allocations: 0.6295 MB / 1.237 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001963/0.3763, allocations: 0.7164 MB / 1.237 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001544/0.3779, allocations: 1.041 MB / 1.238 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004663/0.3783, allocations: 279.9 kB / 1.239 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007847/0.3791, allocations: 434.3 kB / 1.239 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000527/0.3796, allocations: 342.5 kB / 1.239 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.907e-05/0.3797, allocations: 28 kB / 1.239 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001376/0.3811, allocations: 0.6356 MB / 1.24 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001494/0.3812, allocations: 107.5 kB / 1.24 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002448/0.3815, allocations: 218.8 kB / 1.24 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001236/0.3827, allocations: 0.7666 MB / 1.241 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.3827, allocations: 0 / 1.241 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3827, allocations: 0 / 1.241 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.3827, allocations: 0 / 1.241 GB, free: 6.152 MB / 0.9825 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.00144/0.3842, allocations: 0.8515 MB / 1.242 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.3842, allocations: 8.031 kB / 1.242 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001244/0.3843, allocations: 64.59 kB / 1.242 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007395/0.3851, allocations: 437.8 kB / 1.242 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.41e-05/0.3851, allocations: 20.44 kB / 1.242 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.581e-05/0.3852, allocations: 28 kB / 1.242 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005471/0.3857, allocations: 207.2 kB / 1.243 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.3857, allocations: 8 kB / 1.243 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.333e-05/0.3857, allocations: 8 kB / 1.243 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.3857, allocations: 4 kB / 1.243 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003923/0.3861, allocations: 165.6 kB / 1.243 GB, free: 4.277 MB / 0.9825 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.001778/0.3879, allocations: 0.9498 MB / 1.244 GB, free: 3.246 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002975/0.3882, allocations: 130.6 kB / 1.244 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.3884, allocations: 68.81 kB / 1.244 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003132/0.3887, allocations: 340.5 kB / 1.244 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.404e-05/0.3888, allocations: 30.56 kB / 1.244 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.583e-06/0.3888, allocations: 0 / 1.244 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.0006392/0.3894, allocations: 249 kB / 1.244 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.3895, allocations: 55.41 kB / 1.245 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005607/0.39, allocations: 470 kB / 1.245 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.3901, allocations: 29.7 kB / 1.245 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/0.3903, allocations: 232.7 kB / 1.245 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.566e-05/0.3903, allocations: 51.56 kB / 1.245 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.3904, allocations: 57.66 kB / 1.245 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.3906, allocations: 366.7 kB / 1.246 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001864/0.3908, allocations: 72.81 kB / 1.246 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002689/0.391, allocations: 147.6 kB / 1.246 GB, free: 0.8164 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003786/0.3914, allocations: 168.1 kB / 1.246 GB, free: 0.6445 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3914, allocations: 0 / 1.246 GB, free: 0.6445 MB / 0.9825 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005324/0.392, allocations: 253.2 kB / 1.246 GB, free: 400 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.392, allocations: 5.406 kB / 1.246 GB, free: 396 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.392, allocations: 0 / 1.246 GB, free: 396 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.392, allocations: 4 kB / 1.246 GB, free: 392 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002345/0.3922, allocations: 51.91 kB / 1.246 GB, free: 340 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3922, allocations: 4 kB / 1.246 GB, free: 336 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003142/0.3925, allocations: 31.86 kB / 1.246 GB, free: 304 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.923e-05/0.3926, allocations: 12 kB / 1.246 GB, free: 292 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002885/0.3929, allocations: 188.1 kB / 1.247 GB, free: 100 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002778/0.3931, allocations: 166.6 kB / 1.247 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003513/0.3935, allocations: 180.2 kB / 1.247 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.045e-06/0.3935, allocations: 3.938 kB / 1.247 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005094/0.394, allocations: 241.3 kB / 1.247 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.294e-06/0.394, allocations: 11.94 kB / 1.247 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-06/0.394, allocations: 0 / 1.247 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.308e-06/0.394, allocations: 4 kB / 1.247 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/0.3942, allocations: 51.91 kB / 1.247 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.3942, allocations: 0 / 1.247 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003384/0.3946, allocations: 39.92 kB / 1.247 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/0.3946, allocations: 11.98 kB / 1.247 GB, free: 15.35 MB / 0.9981 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.0001368/0.3947, allocations: 196.1 kB / 1.247 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.679e-05/0.3948, allocations: 43.72 kB / 1.247 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005691/0.3954, allocations: 257 kB / 1.248 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.3954, allocations: 0 / 1.248 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.3954, allocations: 0 / 1.248 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001397/0.3955, allocations: 136.8 kB / 1.248 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.039e-05/0.3956, allocations: 7.984 kB / 1.248 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/0.3958, allocations: 15.92 kB / 1.248 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/0.3958, allocations: 7.984 kB / 1.248 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004814/0.3963, allocations: 278.8 kB / 1.248 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005042/0.3968, allocations: 398.2 kB / 1.249 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001694/0.397, allocations: 71.94 kB / 1.249 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003856/0.3974, allocations: 334.9 kB / 1.249 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of Backend: time 4.81e-07/0.3974, allocations: 4 kB / 1.249 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002874/0.4002, allocations: 0.7962 MB / 1.25 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of SimCode: time 0.001814/0.4021, allocations: 1.273 MB / 1.251 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of Templates: time 0.01775/0.4198, allocations: 9.91 MB / 1.261 GB, free: 1.867 MB / 0.9981 GB [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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