Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.TwoWayValveTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|kv.y",fileNamePrefix="Buildings_9_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_9_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.001555/0.001555, allocations: 114.7 kB / 16.42 MB, free: 6.473 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.001772/0.001773, allocations: 186.6 kB / 17.35 MB, free: 5.75 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.532/1.532, allocations: 222.9 MB / 241.1 MB, free: 15.15 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.265/2.265, allocations: 390.3 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 67.89 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9646/0.9661, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02051/0.9866, allocations: 17.45 MB / 1.106 GB, free: 9.066 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01/0.9967, allocations: 4.916 MB / 1.11 GB, free: 5.609 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009461/0.9977, allocations: 21.19 kB / 1.11 GB, free: 5.598 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001035/0.9988, allocations: 255.7 kB / 1.111 GB, free: 5.445 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002138/1.001, allocations: 0.6358 MB / 1.111 GB, free: 5.078 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002707/1.004, allocations: 0.7319 MB / 1.112 GB, free: 4.719 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001908/1.006, allocations: 0.9676 MB / 1.113 GB, free: 4.277 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006169/1.006, allocations: 337.9 kB / 1.113 GB, free: 4.129 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000976/1.007, allocations: 427.9 kB / 1.114 GB, free: 3.938 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004764/1.008, allocations: 310.8 kB / 1.114 GB, free: 3.801 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 7.029e-05/1.008, allocations: 29.06 kB / 1.114 GB, free: 3.801 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001837/1.01, allocations: 0.726 MB / 1.115 GB, free: 3.562 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002029/1.01, allocations: 135.8 kB / 1.115 GB, free: 3.496 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.000335/1.01, allocations: 246.7 kB / 1.115 GB, free: 3.348 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001857/1.012, allocations: 0.8759 MB / 1.116 GB, free: 3.027 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/1.012, allocations: 0 / 1.116 GB, free: 3.027 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.793e-06/1.012, allocations: 0 / 1.116 GB, free: 3.027 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.608e-06/1.012, allocations: 0 / 1.116 GB, free: 3.027 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001436/1.014, allocations: 0.8787 MB / 1.117 GB, free: 2.344 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/1.014, allocations: 11.88 kB / 1.117 GB, free: 2.34 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002046/1.014, allocations: 60.09 kB / 1.117 GB, free: 2.312 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008071/1.015, allocations: 463.1 kB / 1.117 GB, free: 1.977 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.72e-05/1.015, allocations: 28.97 kB / 1.117 GB, free: 1.961 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.196e-05/1.015, allocations: 32.25 kB / 1.117 GB, free: 1.949 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000603/1.015, allocations: 278.1 kB / 1.118 GB, free: 1.805 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/1.015, allocations: 0 / 1.118 GB, free: 1.805 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.644e-05/1.015, allocations: 10.59 kB / 1.118 GB, free: 1.797 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/1.015, allocations: 7.25 kB / 1.118 GB, free: 1.797 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004748/1.016, allocations: 196.5 kB / 1.118 GB, free: 1.73 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.002327/1.018, allocations: 1.474 MB / 1.119 GB, free: 0.6211 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004314/1.019, allocations: 166.9 kB / 1.119 GB, free: 0.5469 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002016/1.019, allocations: 84.81 kB / 1.12 GB, free: 0.5156 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001733/1.021, allocations: 1.273 MB / 1.121 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/1.021, allocations: 40.81 kB / 1.121 GB, free: 15.24 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=15): time 1.423e-06/1.021, allocations: 0 / 1.121 GB, free: 15.24 MB / 0.8887 GB Notification: Performance of matching and sorting (n=15): time 0.0006817/1.021, allocations: 250.7 kB / 1.121 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/1.021, allocations: 57.47 kB / 1.121 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000731/1.022, allocations: 0.5802 MB / 1.122 GB, free: 14.82 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.208e-05/1.022, allocations: 32.36 kB / 1.122 GB, free: 14.78 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002075/1.022, allocations: 268.2 kB / 1.122 GB, free: 14.56 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.443e-05/1.022, allocations: 52.14 kB / 1.122 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/1.023, allocations: 74.25 kB / 1.122 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001456/1.023, allocations: 357.6 kB / 1.122 GB, free: 14.15 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/1.023, allocations: 83.98 kB / 1.123 GB, free: 14.12 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002994/1.023, allocations: 209.9 kB / 1.123 GB, free: 13.95 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004105/1.024, allocations: 238 kB / 1.123 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/1.024, allocations: 1.5 kB / 1.123 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006021/1.024, allocations: 308.2 kB / 1.123 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/1.024, allocations: 9.969 kB / 1.123 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/1.024, allocations: 3.141 kB / 1.123 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/1.024, allocations: 8.281 kB / 1.123 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002617/1.025, allocations: 65.52 kB / 1.123 GB, free: 13.65 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/1.025, allocations: 8.188 kB / 1.123 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003345/1.025, allocations: 45.47 kB / 1.123 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.608e-05/1.025, allocations: 15.69 kB / 1.123 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000314/1.025, allocations: 218.1 kB / 1.124 GB, free: 13.49 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002924/1.026, allocations: 208.7 kB / 1.124 GB, free: 13.32 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004026/1.026, allocations: 235 kB / 1.124 GB, free: 13.17 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.454e-06/1.026, allocations: 1.375 kB / 1.124 GB, free: 13.17 MB / 0.8887 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.00059/1.027, allocations: 307.9 kB / 1.124 GB, free: 13.04 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/1.027, allocations: 7.375 kB / 1.124 GB, free: 13.04 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/1.027, allocations: 2.625 kB / 1.124 GB, free: 13.04 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.743e-06/1.027, allocations: 7.562 kB / 1.124 GB, free: 13.04 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002386/1.027, allocations: 63.95 kB / 1.124 GB, free: 13.03 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/1.027, allocations: 5.281 kB / 1.124 GB, free: 13.03 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003352/1.027, allocations: 33.89 kB / 1.124 GB, free: 13.02 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.799e-05/1.027, allocations: 15.78 kB / 1.124 GB, free: 13.01 MB / 0.8887 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.0001287/1.027, allocations: 206.7 kB / 1.125 GB, free: 12.81 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.328e-05/1.028, allocations: 53.28 kB / 1.125 GB, free: 12.78 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000578/1.028, allocations: 259.4 kB / 1.125 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/1.028, allocations: 2.297 kB / 1.125 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/1.028, allocations: 0 / 1.125 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/1.028, allocations: 141.4 kB / 1.125 GB, free: 12.54 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.104e-05/1.028, allocations: 9.922 kB / 1.125 GB, free: 12.53 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/1.029, allocations: 8.328 kB / 1.125 GB, free: 12.53 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.315e-05/1.029, allocations: 13.91 kB / 1.125 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004917/1.029, allocations: 279.9 kB / 1.125 GB, free: 12.36 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005342/1.03, allocations: 415.3 kB / 1.126 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001768/1.03, allocations: 76.41 kB / 1.126 GB, free: 12.05 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006033/1.03, allocations: 420.8 kB / 1.126 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of Backend: time 3.71e-07/1.03, allocations: 0 / 1.126 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002874/1.033, allocations: 0.9027 MB / 1.127 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of SimCode: time 0.002427/1.036, allocations: 1.395 MB / 1.129 GB, free: 10.6 MB / 0.8887 GB Notification: Performance of Templates: time 0.03793/1.074, allocations: 11.91 MB / 1.14 GB, free: 9.059 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches