Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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=5000,variableFilter="time|valTab.m_flow|kv.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|kv.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 105.6 kB / 16.41 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00264/0.00264, allocations: 192.2 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.58/2.58, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 60.12 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8331/0.8344, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01901/0.8534, allocations: 17.46 MB / 1.225 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.008037/0.8615, allocations: 4.91 MB / 1.23 GB, free: 7.168 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008902/0.8625, allocations: 15.94 kB / 1.23 GB, free: 7.152 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0009511/0.8634, allocations: 262.4 kB / 1.231 GB, free: 6.895 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001616/0.8651, allocations: 0.614 MB / 1.231 GB, free: 6.277 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001954/0.867, allocations: 0.7229 MB / 1.232 GB, free: 5.562 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001323/0.8684, allocations: 0.9663 MB / 1.233 GB, free: 4.594 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005948/0.869, allocations: 340.8 kB / 1.233 GB, free: 4.262 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008407/0.8698, allocations: 430.2 kB / 1.234 GB, free: 3.84 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004324/0.8703, allocations: 310.6 kB / 1.234 GB, free: 3.535 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.152e-05/0.8704, allocations: 35.94 kB / 1.234 GB, free: 3.5 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00154/0.8719, allocations: 0.7214 MB / 1.235 GB, free: 2.777 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001525/0.8721, allocations: 135.6 kB / 1.235 GB, free: 2.645 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002672/0.8724, allocations: 250.6 kB / 1.235 GB, free: 2.398 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00126/0.8736, allocations: 0.8664 MB / 1.236 GB, free: 1.531 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.8736, allocations: 3.938 kB / 1.236 GB, free: 1.527 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8736, allocations: 0 / 1.236 GB, free: 1.527 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.8737, allocations: 0 / 1.236 GB, free: 1.527 MB / 0.9512 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.0012/0.8749, allocations: 0.8835 MB / 1.237 GB, free: 0.5898 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.8749, allocations: 12.03 kB / 1.237 GB, free: 0.5781 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001587/0.8751, allocations: 56.28 kB / 1.237 GB, free: 0.5234 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006354/0.8757, allocations: 465.7 kB / 1.237 GB, free: 28 kB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.8757, allocations: 28.5 kB / 1.237 GB, free: 0 / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.169e-05/0.8758, allocations: 28.05 kB / 1.237 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004875/0.8763, allocations: 282.2 kB / 1.237 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.8763, allocations: 0 / 1.237 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.297e-05/0.8764, allocations: 12 kB / 1.237 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.8764, allocations: 4 kB / 1.237 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004227/0.8768, allocations: 190.1 kB / 1.238 GB, free: 15.48 MB / 0.9669 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.001733/0.8785, allocations: 1.476 MB / 1.239 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003185/0.8789, allocations: 166.7 kB / 1.239 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/0.8791, allocations: 88.7 kB / 1.239 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001429/0.8805, allocations: 1.276 MB / 1.241 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.8805, allocations: 42.44 kB / 1.241 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=15): time 1.863e-06/0.8806, allocations: 0 / 1.241 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15): time 0.000623/0.8812, allocations: 241.1 kB / 1.241 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/0.8812, allocations: 59.41 kB / 1.241 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006037/0.8818, allocations: 0.5848 MB / 1.241 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.8819, allocations: 29.7 kB / 1.242 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000189/0.8821, allocations: 268.1 kB / 1.242 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.842e-05/0.8821, allocations: 51.2 kB / 1.242 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.8822, allocations: 65.97 kB / 1.242 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.8824, allocations: 362.8 kB / 1.242 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/0.8826, allocations: 85.88 kB / 1.242 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002785/0.8828, allocations: 202.8 kB / 1.243 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004009/0.8832, allocations: 238.9 kB / 1.243 GB, free: 9.812 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.8833, allocations: 4 kB / 1.243 GB, free: 9.809 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005722/0.8838, allocations: 315.3 kB / 1.243 GB, free: 9.496 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.8839, allocations: 7.938 kB / 1.243 GB, free: 9.488 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.8839, allocations: 4 kB / 1.243 GB, free: 9.484 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.8839, allocations: 4 kB / 1.243 GB, free: 9.48 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002533/0.8842, allocations: 63.98 kB / 1.243 GB, free: 9.418 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.8842, allocations: 11.88 kB / 1.243 GB, free: 9.406 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002991/0.8845, allocations: 43.67 kB / 1.243 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.44e-05/0.8845, allocations: 11.98 kB / 1.243 GB, free: 9.352 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003012/0.8848, allocations: 220.7 kB / 1.243 GB, free: 9.133 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002959/0.8852, allocations: 207 kB / 1.244 GB, free: 8.883 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003673/0.8855, allocations: 237.3 kB / 1.244 GB, free: 8.617 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.653e-06/0.8855, allocations: 0 / 1.244 GB, free: 8.617 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.000549/0.8861, allocations: 315.1 kB / 1.244 GB, free: 8.305 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 7.965e-06/0.8861, allocations: 4 kB / 1.244 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.8861, allocations: 8 kB / 1.244 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.731e-06/0.8861, allocations: 7.938 kB / 1.244 GB, free: 8.285 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.8864, allocations: 59.91 kB / 1.244 GB, free: 8.227 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.8864, allocations: 4 kB / 1.244 GB, free: 8.223 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003161/0.8867, allocations: 35.81 kB / 1.244 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.8867, allocations: 16 kB / 1.244 GB, free: 8.172 MB / 0.9669 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.0001124/0.8869, allocations: 200.2 kB / 1.244 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.82e-05/0.8869, allocations: 59.22 kB / 1.244 GB, free: 7.91 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00053/0.8875, allocations: 249.7 kB / 1.245 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.8875, allocations: 7.984 kB / 1.245 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.8875, allocations: 0 / 1.245 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001404/0.8876, allocations: 144.4 kB / 1.245 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.983e-05/0.8877, allocations: 8 kB / 1.245 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.8879, allocations: 11.98 kB / 1.245 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.748e-05/0.8879, allocations: 7.984 kB / 1.245 GB, free: 7.465 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004503/0.8884, allocations: 278.9 kB / 1.245 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004936/0.8889, allocations: 413.9 kB / 1.246 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001628/0.8891, allocations: 77.83 kB / 1.246 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004345/0.8895, allocations: 418.8 kB / 1.246 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of Backend: time 5.51e-07/0.8895, allocations: 0 / 1.246 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00234/0.8919, allocations: 0.8961 MB / 1.247 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of SimCode: time 0.001989/0.8939, allocations: 1.392 MB / 1.248 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of Templates: time 0.02048/0.9144, allocations: 12.1 MB / 1.26 GB, free: 8.18 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches