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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_10_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.001979/0.001979, allocations: 103.5 kB / 15.98 MB, free: 6.352 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.001938/0.001938, allocations: 195.6 kB / 16.91 MB, free: 6.184 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.681/1.681, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.677/2.677, allocations: 437.1 MB / 0.7107 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 72.27 kB / 0.8694 GB, free: 2.562 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2996, allocations: 151.6 MB / 1.017 GB, free: 11 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.02722/0.3269, allocations: 15.47 MB / 1.033 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01091/0.3378, allocations: 4.319 MB / 1.037 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00104/0.3389, allocations: 15.88 kB / 1.037 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001443/0.3405, allocations: 226.9 kB / 1.037 GB, free: 6.902 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.002865/0.3434, allocations: 0.565 MB / 1.038 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002914/0.3463, allocations: 0.6383 MB / 1.038 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.00157/0.3479, allocations: 1.025 MB / 1.039 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005732/0.3485, allocations: 328.1 kB / 1.04 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008738/0.3493, allocations: 426.2 kB / 1.04 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004891/0.3498, allocations: 330.5 kB / 1.04 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.734e-05/0.3499, allocations: 28 kB / 1.04 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001189/0.3511, allocations: 0.6278 MB / 1.041 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001265/0.3512, allocations: 103.5 kB / 1.041 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002538/0.3515, allocations: 226.8 kB / 1.041 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0008336/0.3523, allocations: 0.5574 MB / 1.042 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3524, allocations: 0 / 1.042 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3524, allocations: 0 / 1.042 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.785e-06/0.3524, allocations: 0 / 1.042 GB, free: 2.074 MB / 0.8106 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.0014/0.3538, allocations: 0.8214 MB / 1.043 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.3538, allocations: 19.97 kB / 1.043 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.354, allocations: 52.28 kB / 1.043 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00061/0.3546, allocations: 421.4 kB / 1.043 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.679e-05/0.3546, allocations: 20.44 kB / 1.043 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.138e-05/0.3547, allocations: 24 kB / 1.043 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004813/0.3552, allocations: 211.2 kB / 1.043 GB, free: 432 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.3552, allocations: 4 kB / 1.043 GB, free: 428 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.46e-05/0.3552, allocations: 11.98 kB / 1.043 GB, free: 416 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.3552, allocations: 8 kB / 1.043 GB, free: 408 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004173/0.3556, allocations: 173.6 kB / 1.043 GB, free: 236 kB / 0.8106 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.001754/0.3574, allocations: 0.9341 MB / 1.044 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003454/0.3578, allocations: 130.6 kB / 1.044 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.358, allocations: 68.81 kB / 1.045 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003577/0.3583, allocations: 344.4 kB / 1.045 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.3584, allocations: 30.56 kB / 1.045 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=14): time 1.673e-06/0.3584, allocations: 4 kB / 1.045 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.0006751/0.3591, allocations: 244.3 kB / 1.045 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.3591, allocations: 55.41 kB / 1.045 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005879/0.3597, allocations: 478 kB / 1.046 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.564e-05/0.3598, allocations: 29.7 kB / 1.046 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002093/0.36, allocations: 232.4 kB / 1.046 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.376e-05/0.36, allocations: 51.3 kB / 1.046 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.3602, allocations: 61.69 kB / 1.046 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002038/0.3604, allocations: 354.7 kB / 1.046 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/0.3606, allocations: 72.81 kB / 1.046 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002918/0.3609, allocations: 158 kB / 1.047 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003707/0.3613, allocations: 161.4 kB / 1.047 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3613, allocations: 0 / 1.047 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006185/0.3619, allocations: 253 kB / 1.047 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.3619, allocations: 11.94 kB / 1.047 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3619, allocations: 0 / 1.047 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.362, allocations: 4 kB / 1.047 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002572/0.3622, allocations: 47.97 kB / 1.047 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.3622, allocations: 3.984 kB / 1.047 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004111/0.3627, allocations: 39.8 kB / 1.047 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.18e-05/0.3627, allocations: 12 kB / 1.047 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003215/0.363, allocations: 188.7 kB / 1.047 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002923/0.3633, allocations: 173.1 kB / 1.047 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003493/0.3637, allocations: 168.1 kB / 1.048 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.323e-06/0.3637, allocations: 0 / 1.048 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005668/0.3643, allocations: 256.9 kB / 1.048 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.3643, allocations: 8.062 kB / 1.048 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.455e-06/0.3643, allocations: 0 / 1.048 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.691e-06/0.3643, allocations: 4 kB / 1.048 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.3645, allocations: 43.97 kB / 1.048 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3646, allocations: 3.938 kB / 1.048 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004152/0.365, allocations: 43.8 kB / 1.048 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.552e-05/0.365, allocations: 16 kB / 1.048 GB, free: 11.3 MB / 0.8262 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.0001528/0.3652, allocations: 188.2 kB / 1.048 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.244e-05/0.3653, allocations: 39.53 kB / 1.048 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006281/0.3659, allocations: 255.9 kB / 1.048 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/0.3659, allocations: 8 kB / 1.048 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3659, allocations: 192 / 1.048 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3659, allocations: 0 / 1.048 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001216/0.3672, allocations: 0.7082 MB / 1.049 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.3672, allocations: 4.125 kB / 1.049 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.3673, allocations: 35.91 kB / 1.049 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.3673, allocations: 4.188 kB / 1.049 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.3674, allocations: 4 kB / 1.049 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.3674, allocations: 7.938 kB / 1.049 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.3674, allocations: 0 / 1.049 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00054/0.3679, allocations: 338.3 kB / 1.049 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/0.3681, allocations: 140.5 kB / 1.05 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.295e-05/0.3681, allocations: 7.938 kB / 1.05 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000274/0.3684, allocations: 31.91 kB / 1.05 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.2e-05/0.3685, allocations: 7.984 kB / 1.05 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.563e-05/0.3685, allocations: 12 kB / 1.05 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0005436/0.3691, allocations: 330.9 kB / 1.05 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.51e-07/0.3691, allocations: 0 / 1.05 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001094/0.3702, allocations: 203.6 kB / 1.05 GB, free: 8.883 MB / 0.8262 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 (16): * Single equations (assignments): 14 * 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.001986/0.3722, allocations: 484.1 kB / 1.051 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001007/0.3732, allocations: 280.2 kB / 1.051 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3732, allocations: 0 / 1.051 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003082/0.3736, allocations: 95.75 kB / 1.051 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001546/0.3751, allocations: 199.2 kB / 1.051 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/0.3771, allocations: 0.8708 MB / 1.052 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007984/0.3779, allocations: 0.827 MB / 1.053 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.3781, allocations: 43.36 kB / 1.053 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of SimCode: time 6.71e-07/0.3781, allocations: 0 / 1.053 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of Templates: time 0.01815/0.3962, allocations: 7.331 MB / 1.06 GB, free: 14.92 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (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) 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) Reference file matches