Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.TwoWayValveTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|kv.y",fileNamePrefix="Buildings_10_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_10_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.001161/0.00116, allocations: 114.5 kB / 16.37 MB, free: 6.012 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.001058/0.001058, allocations: 193.4 kB / 17.31 MB, free: 5.613 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.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.478/2.478, allocations: 437.1 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.00151, allocations: 68.27 kB / 0.8707 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3894/0.3909, allocations: 151.6 MB / 1.019 GB, free: 9.836 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02014/0.4111, allocations: 17.48 MB / 1.036 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.007528/0.4187, allocations: 4.902 MB / 1.041 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007292/0.4195, allocations: 15.94 kB / 1.041 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0009294/0.4205, allocations: 254.4 kB / 1.041 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001644/0.4221, allocations: 0.6147 MB / 1.041 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002088/0.4242, allocations: 0.7337 MB / 1.042 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001311/0.4255, allocations: 0.9663 MB / 1.043 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004807/0.426, allocations: 332.9 kB / 1.043 GB, free: 472 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007028/0.4267, allocations: 422.3 kB / 1.044 GB, free: 48 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004267/0.4272, allocations: 302.7 kB / 1.044 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.227e-05/0.4273, allocations: 32 kB / 1.044 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001297/0.4286, allocations: 0.7253 MB / 1.045 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001447/0.4287, allocations: 139.4 kB / 1.045 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002433/0.429, allocations: 242.7 kB / 1.045 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001201/0.4302, allocations: 0.8762 MB / 1.046 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.4302, allocations: 8 kB / 1.046 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.104e-06/0.4302, allocations: 0 / 1.046 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.172e-05/0.4302, allocations: 0 / 1.046 GB, free: 13.73 MB / 0.8262 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.001344/0.4316, allocations: 0.8758 MB / 1.047 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.4316, allocations: 12.92 kB / 1.047 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001903/0.4318, allocations: 60.28 kB / 1.047 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007424/0.4326, allocations: 469.6 kB / 1.048 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/0.4326, allocations: 24.5 kB / 1.048 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.491e-05/0.4327, allocations: 28 kB / 1.048 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004934/0.4332, allocations: 290.2 kB / 1.048 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.4332, allocations: 0 / 1.048 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.195e-05/0.4332, allocations: 12 kB / 1.048 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.4332, allocations: 4 kB / 1.048 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003914/0.4336, allocations: 194.1 kB / 1.048 GB, free: 11.68 MB / 0.8262 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.001897/0.4355, allocations: 1.472 MB / 1.049 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003178/0.4359, allocations: 158.8 kB / 1.05 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/0.436, allocations: 84.81 kB / 1.05 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001522/0.4376, allocations: 1.264 MB / 1.051 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.4376, allocations: 46.44 kB / 1.051 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.4376, allocations: 0 / 1.051 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.0006379/0.4383, allocations: 253 kB / 1.051 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.496e-05/0.4383, allocations: 55.41 kB / 1.051 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006345/0.439, allocations: 0.5809 MB / 1.052 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.439, allocations: 29.7 kB / 1.052 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002057/0.4392, allocations: 276 kB / 1.052 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.254e-05/0.4393, allocations: 51.28 kB / 1.052 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.4394, allocations: 73.88 kB / 1.052 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.4395, allocations: 354.8 kB / 1.053 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.4397, allocations: 81.92 kB / 1.053 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002767/0.44, allocations: 215.2 kB / 1.053 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000385/0.4404, allocations: 235.1 kB / 1.053 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-06/0.4404, allocations: 7.938 kB / 1.053 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005448/0.441, allocations: 314.4 kB / 1.053 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.441, allocations: 7.938 kB / 1.053 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.441, allocations: 8.234 kB / 1.053 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.441, allocations: 8 kB / 1.053 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002408/0.4413, allocations: 60 kB / 1.053 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.4413, allocations: 7.938 kB / 1.053 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003056/0.4416, allocations: 55.55 kB / 1.054 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.452e-05/0.4416, allocations: 12 kB / 1.054 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002879/0.4419, allocations: 213.3 kB / 1.054 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000255/0.4422, allocations: 209.6 kB / 1.054 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000374/0.4426, allocations: 239.4 kB / 1.054 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.683e-06/0.4426, allocations: 0 / 1.054 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.000512/0.4431, allocations: 296.8 kB / 1.054 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.396e-06/0.4431, allocations: 4 kB / 1.054 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.4431, allocations: 7.938 kB / 1.054 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.318e-06/0.4432, allocations: 8.25 kB / 1.054 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/0.4434, allocations: 63.89 kB / 1.055 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.4434, allocations: 7.938 kB / 1.055 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003073/0.4437, allocations: 35.83 kB / 1.055 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.51e-05/0.4437, allocations: 15.98 kB / 1.055 GB, free: 4.383 MB / 0.8262 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.0001102/0.4439, allocations: 192.2 kB / 1.055 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.707e-05/0.4439, allocations: 51.38 kB / 1.055 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005194/0.4445, allocations: 265.6 kB / 1.055 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/0.4445, allocations: 0 / 1.055 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.4445, allocations: 0 / 1.055 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.4445, allocations: 3.938 kB / 1.055 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.4455, allocations: 0.7381 MB / 1.056 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.4455, allocations: 0 / 1.056 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.4456, allocations: 31.97 kB / 1.056 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-06/0.4457, allocations: 8 kB / 1.056 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.4457, allocations: 4 kB / 1.056 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.4457, allocations: 4 kB / 1.056 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.4457, allocations: 3.938 kB / 1.056 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004427/0.4461, allocations: 352.2 kB / 1.056 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001534/0.4463, allocations: 148.4 kB / 1.056 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.512e-05/0.4464, allocations: 11.94 kB / 1.056 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/0.4466, allocations: 11.98 kB / 1.056 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.147e-05/0.4467, allocations: 19.92 kB / 1.056 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.4467, allocations: 11.94 kB / 1.056 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004248/0.4471, allocations: 422.8 kB / 1.057 GB, free: 2.008 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4471, allocations: 96 / 1.057 GB, free: 2.008 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0007086/0.4478, allocations: 231.6 kB / 1.057 GB, free: 1.781 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 (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.001101/0.4489, allocations: 487.3 kB / 1.057 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000692/0.4496, allocations: 337.8 kB / 1.058 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.4497, allocations: 1 kB / 1.058 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001778/0.4498, allocations: 90.89 kB / 1.058 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.4509, allocations: 250.2 kB / 1.058 GB, free: 0.7852 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.4522, allocations: 0.8073 MB / 1.059 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003992/0.4527, allocations: 0.8428 MB / 1.06 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000292/0.453, allocations: 108.6 kB / 1.06 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.789e-05/0.453, allocations: 39.44 kB / 1.06 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of SimCode: time 3.51e-07/0.453, allocations: 0 / 1.06 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of Templates: time 0.0182/0.4713, allocations: 10.18 MB / 1.07 GB, free: 4.887 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches