Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) 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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 116.4 kB / 16.42 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.001406/0.001406, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.429/1.429, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.249/2.249, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 67.89 kB / 0.9515 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9472/0.9487, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.02414/0.9728, allocations: 15.54 MB / 1.104 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.008729/0.9816, allocations: 4.334 MB / 1.108 GB, free: 7.355 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001066/0.9827, allocations: 16.34 kB / 1.108 GB, free: 7.348 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001166/0.984, allocations: 268.4 kB / 1.108 GB, free: 7.191 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002289/0.9863, allocations: 0.6344 MB / 1.109 GB, free: 6.82 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003179/0.9895, allocations: 0.6997 MB / 1.11 GB, free: 6.484 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002381/0.9919, allocations: 1.042 MB / 1.111 GB, free: 6.004 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001028/0.9929, allocations: 339.8 kB / 1.111 GB, free: 5.863 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001271/0.9942, allocations: 435.2 kB / 1.111 GB, free: 5.672 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008804/0.9951, allocations: 313 kB / 1.112 GB, free: 5.539 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001686/0.9953, allocations: 27.94 kB / 1.112 GB, free: 5.539 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002354/0.9976, allocations: 0.6261 MB / 1.112 GB, free: 5.34 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003158/0.998, allocations: 104.5 kB / 1.112 GB, free: 5.281 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0006921/0.9987, allocations: 231.8 kB / 1.113 GB, free: 5.141 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002464/1.001, allocations: 0.7594 MB / 1.113 GB, free: 4.859 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/1.001, allocations: 5.062 kB / 1.113 GB, free: 4.855 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.635e-06/1.001, allocations: 0 / 1.113 GB, free: 4.855 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.437e-05/1.001, allocations: 0 / 1.113 GB, free: 4.855 MB / 0.8731 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.00301/1.004, allocations: 0.8305 MB / 1.114 GB, free: 4.199 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 6.452e-05/1.004, allocations: 12.56 kB / 1.114 GB, free: 4.195 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003191/1.005, allocations: 55.53 kB / 1.114 GB, free: 4.168 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/1.006, allocations: 423.9 kB / 1.115 GB, free: 3.859 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.039e-05/1.006, allocations: 23.81 kB / 1.115 GB, free: 3.848 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.483e-05/1.006, allocations: 26.88 kB / 1.115 GB, free: 3.84 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000802/1.007, allocations: 216.8 kB / 1.115 GB, free: 3.742 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/1.007, allocations: 0 / 1.115 GB, free: 3.742 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.385e-05/1.007, allocations: 9.469 kB / 1.115 GB, free: 3.734 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/1.007, allocations: 5.156 kB / 1.115 GB, free: 3.734 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006184/1.008, allocations: 167.3 kB / 1.115 GB, free: 3.688 MB / 0.8731 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.003086/1.011, allocations: 0.949 MB / 1.116 GB, free: 3.059 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004685/1.011, allocations: 128.7 kB / 1.116 GB, free: 3.004 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002808/1.011, allocations: 67.86 kB / 1.116 GB, free: 2.98 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000451/1.012, allocations: 334.5 kB / 1.117 GB, free: 2.602 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.429e-05/1.012, allocations: 40.62 kB / 1.117 GB, free: 2.555 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=14): time 2.685e-06/1.012, allocations: 3.938 kB / 1.117 GB, free: 2.551 MB / 0.8731 GB Notification: Performance of matching and sorting (n=14): time 0.001101/1.013, allocations: 236 kB / 1.117 GB, free: 2.457 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/1.013, allocations: 52.56 kB / 1.117 GB, free: 2.395 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/1.014, allocations: 484 kB / 1.117 GB, free: 2.168 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.939e-05/1.014, allocations: 31.11 kB / 1.117 GB, free: 2.133 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002864/1.015, allocations: 237.5 kB / 1.118 GB, free: 1.934 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.504e-05/1.015, allocations: 41.34 kB / 1.118 GB, free: 1.902 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001869/1.015, allocations: 66.55 kB / 1.118 GB, free: 1.863 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002574/1.015, allocations: 352.8 kB / 1.118 GB, free: 1.531 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003192/1.016, allocations: 73.42 kB / 1.118 GB, free: 1.504 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004615/1.016, allocations: 160.8 kB / 1.118 GB, free: 1.395 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007258/1.017, allocations: 160.7 kB / 1.118 GB, free: 1.324 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/1.017, allocations: 0.5938 kB / 1.118 GB, free: 1.324 MB / 0.8731 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001052/1.018, allocations: 256.6 kB / 1.119 GB, free: 1.215 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/1.018, allocations: 10.03 kB / 1.119 GB, free: 1.211 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/1.018, allocations: 1.094 kB / 1.119 GB, free: 1.211 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/1.018, allocations: 1.859 kB / 1.119 GB, free: 1.211 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003686/1.018, allocations: 47.59 kB / 1.119 GB, free: 1.207 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/1.018, allocations: 1.219 kB / 1.119 GB, free: 1.207 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005965/1.019, allocations: 36.3 kB / 1.119 GB, free: 1.191 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.84e-05/1.019, allocations: 12.14 kB / 1.119 GB, free: 1.188 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005154/1.02, allocations: 193.1 kB / 1.119 GB, free: 1.066 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004412/1.02, allocations: 163.9 kB / 1.119 GB, free: 0.9453 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006218/1.021, allocations: 174.8 kB / 1.119 GB, free: 0.8555 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.069e-06/1.021, allocations: 3.938 kB / 1.119 GB, free: 0.8516 MB / 0.8731 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0008778/1.022, allocations: 256.9 kB / 1.119 GB, free: 0.7383 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/1.022, allocations: 6.594 kB / 1.119 GB, free: 0.7383 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/1.022, allocations: 5.812 kB / 1.119 GB, free: 0.7344 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.093e-06/1.022, allocations: 1.312 kB / 1.119 GB, free: 0.7344 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003552/1.022, allocations: 43.33 kB / 1.12 GB, free: 0.7344 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/1.022, allocations: 6.406 kB / 1.12 GB, free: 0.7305 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006916/1.023, allocations: 34.25 kB / 1.12 GB, free: 0.7188 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.981e-05/1.023, allocations: 13.84 kB / 1.12 GB, free: 0.7148 MB / 0.8731 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.0002024/1.023, allocations: 198.3 kB / 1.12 GB, free: 0.5195 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/1.023, allocations: 39.44 kB / 1.12 GB, free: 0.5 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008991/1.024, allocations: 249.8 kB / 1.12 GB, free: 400 kB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/1.024, allocations: 0.6094 kB / 1.12 GB, free: 400 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/1.024, allocations: 5.281 kB / 1.12 GB, free: 396 kB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002753/1.024, allocations: 137.3 kB / 1.12 GB, free: 264 kB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/1.024, allocations: 1.859 kB / 1.12 GB, free: 264 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003631/1.025, allocations: 22.39 kB / 1.12 GB, free: 252 kB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.874e-05/1.025, allocations: 9.359 kB / 1.12 GB, free: 252 kB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008439/1.026, allocations: 272.4 kB / 1.12 GB, free: 92 kB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008246/1.027, allocations: 398.3 kB / 1.121 GB, free: 15.81 MB / 0.8887 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002741/1.027, allocations: 76.5 kB / 1.121 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0007111/1.028, allocations: 331.8 kB / 1.121 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of Backend: time 9.52e-07/1.028, allocations: 0 / 1.121 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.004177/1.032, allocations: 0.8027 MB / 1.122 GB, free: 15.34 MB / 0.8887 GB Notification: Performance of SimCode: time 0.003571/1.035, allocations: 1.253 MB / 1.123 GB, free: 14.44 MB / 0.8887 GB Notification: Performance of Templates: time 0.03754/1.073, allocations: 9.801 MB / 1.133 GB, free: 13.59 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches