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.006966/0.006966, allocations: 101.3 kB / 15.73 MB, free: 6.047 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.001678/0.001678, allocations: 188.6 kB / 16.67 MB, free: 5.98 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.522/1.522, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.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.58/2.58, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 63.16 kB / 0.9509 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.316, allocations: 140.4 MB / 1.088 GB, free: 1.625 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01834/0.3344, allocations: 17.47 MB / 1.105 GB, free: 88 kB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.007359/0.3418, allocations: 4.906 MB / 1.11 GB, free: 11.16 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007507/0.3426, allocations: 23.88 kB / 1.11 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0009812/0.3436, allocations: 250.4 kB / 1.11 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001707/0.3454, allocations: 0.6375 MB / 1.111 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002655/0.348, allocations: 0.7347 MB / 1.111 GB, free: 9.527 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001717/0.3498, allocations: 0.9702 MB / 1.112 GB, free: 8.555 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005905/0.3504, allocations: 332.9 kB / 1.113 GB, free: 8.223 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007887/0.3512, allocations: 430.2 kB / 1.113 GB, free: 7.801 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004055/0.3516, allocations: 310.7 kB / 1.113 GB, free: 7.496 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 5.463e-05/0.3516, allocations: 32 kB / 1.113 GB, free: 7.465 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001567/0.3532, allocations: 0.7253 MB / 1.114 GB, free: 6.738 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001578/0.3534, allocations: 127.6 kB / 1.114 GB, free: 6.613 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002836/0.3537, allocations: 254.5 kB / 1.114 GB, free: 6.363 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001502/0.3552, allocations: 0.8685 MB / 1.115 GB, free: 5.492 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3552, allocations: 0 / 1.115 GB, free: 5.492 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.254e-06/0.3552, allocations: 0 / 1.115 GB, free: 5.492 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.064e-05/0.3552, allocations: 0 / 1.115 GB, free: 5.492 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.001452/0.3567, allocations: 0.8797 MB / 1.116 GB, free: 4.562 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.3567, allocations: 12.03 kB / 1.116 GB, free: 4.551 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001998/0.3569, allocations: 64.25 kB / 1.116 GB, free: 4.488 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007054/0.3577, allocations: 465.6 kB / 1.117 GB, free: 3.992 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.013e-05/0.3577, allocations: 32.5 kB / 1.117 GB, free: 3.961 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.218e-05/0.3577, allocations: 24 kB / 1.117 GB, free: 3.938 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005129/0.3583, allocations: 290.2 kB / 1.117 GB, free: 3.633 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.3583, allocations: 0 / 1.117 GB, free: 3.633 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.653e-05/0.3583, allocations: 12 kB / 1.117 GB, free: 3.621 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.3583, allocations: 4 kB / 1.117 GB, free: 3.617 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004275/0.3588, allocations: 194 kB / 1.117 GB, free: 3.426 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.001919/0.3607, allocations: 1.476 MB / 1.119 GB, free: 1.844 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003275/0.361, allocations: 162.8 kB / 1.119 GB, free: 1.676 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001663/0.3612, allocations: 80.81 kB / 1.119 GB, free: 1.594 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00154/0.3628, allocations: 1.272 MB / 1.12 GB, free: 132 kB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.3628, allocations: 38.5 kB / 1.12 GB, free: 84 kB / 0.8731 GB Notification: Performance of pre-optimization done (n=15): time 1.523e-06/0.3628, allocations: 0 / 1.12 GB, free: 84 kB / 0.8731 GB Notification: Performance of matching and sorting (n=15): time 0.0006623/0.3635, allocations: 257 kB / 1.12 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/0.3636, allocations: 59.34 kB / 1.12 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006714/0.3642, allocations: 0.5847 MB / 1.121 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.3643, allocations: 29.7 kB / 1.121 GB, free: 15.12 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002226/0.3645, allocations: 264.1 kB / 1.121 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.228e-05/0.3645, allocations: 55.28 kB / 1.121 GB, free: 14.8 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.3647, allocations: 65.89 kB / 1.121 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.3649, allocations: 362.8 kB / 1.122 GB, free: 14.37 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001913/0.3651, allocations: 81.94 kB / 1.122 GB, free: 14.29 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003119/0.3654, allocations: 206.8 kB / 1.122 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004106/0.3658, allocations: 246.7 kB / 1.122 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.3658, allocations: 4 kB / 1.122 GB, free: 13.76 MB / 0.8887 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006097/0.3664, allocations: 304.8 kB / 1.123 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.3665, allocations: 13.66 kB / 1.123 GB, free: 13.45 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.3665, allocations: 4 kB / 1.123 GB, free: 13.44 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.3665, allocations: 4 kB / 1.123 GB, free: 13.44 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002686/0.3668, allocations: 59.91 kB / 1.123 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.3668, allocations: 4 kB / 1.123 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003154/0.3671, allocations: 55.81 kB / 1.123 GB, free: 13.32 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.399e-05/0.3672, allocations: 8 kB / 1.123 GB, free: 13.31 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003267/0.3675, allocations: 216.6 kB / 1.123 GB, free: 13.1 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002946/0.3678, allocations: 216.2 kB / 1.123 GB, free: 12.84 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003743/0.3682, allocations: 231.1 kB / 1.123 GB, free: 12.58 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.743e-06/0.3682, allocations: 0 / 1.123 GB, free: 12.58 MB / 0.8887 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.000562/0.3688, allocations: 310.8 kB / 1.124 GB, free: 12.27 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 8.967e-06/0.3688, allocations: 4 kB / 1.124 GB, free: 12.27 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.3688, allocations: 7.938 kB / 1.124 GB, free: 12.26 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.39e-06/0.3688, allocations: 4 kB / 1.124 GB, free: 12.26 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/0.369, allocations: 59.91 kB / 1.124 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.369, allocations: 7.984 kB / 1.124 GB, free: 12.19 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003116/0.3693, allocations: 40.08 kB / 1.124 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.3e-05/0.3694, allocations: 12 kB / 1.124 GB, free: 12.14 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.0001317/0.3695, allocations: 200.2 kB / 1.124 GB, free: 11.94 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.099e-05/0.3696, allocations: 55.28 kB / 1.124 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005732/0.3702, allocations: 269.6 kB / 1.124 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.836e-06/0.3702, allocations: 4 kB / 1.124 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.3702, allocations: 0 / 1.124 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3702, allocations: 0 / 1.124 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.3713, allocations: 0.7318 MB / 1.125 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.3713, allocations: 4.031 kB / 1.125 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.3714, allocations: 31.92 kB / 1.125 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.3714, allocations: 384 / 1.125 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.3714, allocations: 11.98 kB / 1.125 GB, free: 10.76 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.3715, allocations: 7.938 kB / 1.125 GB, free: 10.75 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3715, allocations: 0 / 1.125 GB, free: 10.75 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005174/0.372, allocations: 360.1 kB / 1.125 GB, free: 10.37 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001439/0.3721, allocations: 152.3 kB / 1.126 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.825e-05/0.3722, allocations: 4 kB / 1.126 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.3724, allocations: 11.98 kB / 1.126 GB, free: 10.19 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.917e-05/0.3724, allocations: 19.92 kB / 1.126 GB, free: 10.17 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.3725, allocations: 4 kB / 1.126 GB, free: 10.16 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004533/0.3729, allocations: 422.8 kB / 1.126 GB, free: 9.754 MB / 0.8887 GB Notification: Performance of sort global known variables: time 5.51e-07/0.3729, allocations: 0 / 1.126 GB, free: 9.754 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0007627/0.3737, allocations: 227.7 kB / 1.126 GB, free: 9.531 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001219/0.3749, allocations: 499.9 kB / 1.127 GB, free: 9.176 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0007926/0.3757, allocations: 323.8 kB / 1.127 GB, free: 8.859 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3757, allocations: 0 / 1.127 GB, free: 8.859 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.000194/0.3759, allocations: 87.81 kB / 1.127 GB, free: 8.773 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/0.3771, allocations: 252.1 kB / 1.127 GB, free: 8.527 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.3787, allocations: 0.8045 MB / 1.128 GB, free: 7.684 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004697/0.3792, allocations: 0.847 MB / 1.129 GB, free: 6.809 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003216/0.3795, allocations: 100.3 kB / 1.129 GB, free: 6.707 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.46e-05/0.3796, allocations: 39.44 kB / 1.129 GB, free: 6.668 MB / 0.8887 GB Notification: Performance of SimCode: time 3.51e-07/0.3796, allocations: 3.938 kB / 1.129 GB, free: 6.664 MB / 0.8887 GB Notification: Performance of Templates: time 0.01805/0.3976, allocations: 10.25 MB / 1.139 GB, free: 12.55 MB / 0.9044 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/jenkins/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