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.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.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.001639/0.001639, allocations: 105.2 kB / 16.27 MB, free: 5.98 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.001765/0.001765, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.505/1.505, allocations: 222.9 MB / 240.9 MB, free: 15.2 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.704/2.704, allocations: 437.1 MB / 0.711 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002217/0.002217, allocations: 63.44 kB / 0.8699 GB, free: 2.223 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3645, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.0251/0.3897, allocations: 17.47 MB / 1.035 GB, free: 9.121 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.009217/0.3989, allocations: 4.913 MB / 1.04 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009676/0.3999, allocations: 15.88 kB / 1.04 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001301/0.4013, allocations: 246.4 kB / 1.04 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.002506/0.4039, allocations: 0.6148 MB / 1.041 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002718/0.4066, allocations: 0.7261 MB / 1.041 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001914/0.4085, allocations: 0.9664 MB / 1.042 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008419/0.4094, allocations: 333.2 kB / 1.043 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001179/0.4106, allocations: 418.3 kB / 1.043 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008055/0.4114, allocations: 310.7 kB / 1.043 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001668/0.4116, allocations: 32 kB / 1.043 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002057/0.4136, allocations: 0.7292 MB / 1.044 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002537/0.4139, allocations: 123.6 kB / 1.044 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.00043/0.4144, allocations: 250.6 kB / 1.044 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.002094/0.4165, allocations: 0.8647 MB / 1.045 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4165, allocations: 0 / 1.045 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.654e-06/0.4165, allocations: 0 / 1.045 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.498e-05/0.4165, allocations: 0 / 1.045 GB, free: 14.59 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.001756/0.4183, allocations: 0.8836 MB / 1.046 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.4183, allocations: 8.625 kB / 1.046 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002156/0.4186, allocations: 64.22 kB / 1.046 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007756/0.4193, allocations: 453.5 kB / 1.047 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.593e-05/0.4194, allocations: 24.5 kB / 1.047 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.985e-05/0.4194, allocations: 28 kB / 1.047 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005515/0.42, allocations: 290.2 kB / 1.047 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.42, allocations: 3.984 kB / 1.047 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.805e-05/0.4201, allocations: 8 kB / 1.047 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/0.4201, allocations: 11.98 kB / 1.047 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005039/0.4206, allocations: 186.1 kB / 1.047 GB, free: 12.55 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.002193/0.4228, allocations: 1.476 MB / 1.049 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003663/0.4232, allocations: 162.8 kB / 1.049 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001801/0.4234, allocations: 80.81 kB / 1.049 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001864/0.4252, allocations: 1.272 MB / 1.05 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.4253, allocations: 34.5 kB / 1.05 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.784e-06/0.4253, allocations: 0 / 1.05 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.0006836/0.426, allocations: 267.3 kB / 1.05 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.426, allocations: 51.41 kB / 1.05 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007549/0.4268, allocations: 0.577 MB / 1.051 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.376e-05/0.4268, allocations: 33.7 kB / 1.051 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002546/0.4271, allocations: 268 kB / 1.051 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.741e-05/0.4272, allocations: 59.27 kB / 1.051 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.4273, allocations: 65.89 kB / 1.051 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002789/0.4276, allocations: 362.8 kB / 1.052 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/0.4278, allocations: 77.94 kB / 1.052 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003524/0.4281, allocations: 215.2 kB / 1.052 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004584/0.4286, allocations: 243.2 kB / 1.052 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.4286, allocations: 3.938 kB / 1.052 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006418/0.4293, allocations: 308.8 kB / 1.053 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.4293, allocations: 14.75 kB / 1.053 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.4293, allocations: 0 / 1.053 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.4293, allocations: 4 kB / 1.053 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002611/0.4296, allocations: 63.91 kB / 1.053 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.4296, allocations: 4 kB / 1.053 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003203/0.4299, allocations: 47.91 kB / 1.053 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-05/0.43, allocations: 15.98 kB / 1.053 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003455/0.4304, allocations: 212.6 kB / 1.053 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003652/0.4307, allocations: 209.5 kB / 1.053 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004546/0.4312, allocations: 236.7 kB / 1.053 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.537e-06/0.4312, allocations: 4 kB / 1.053 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006102/0.4318, allocations: 304.8 kB / 1.054 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.4319, allocations: 8.188 kB / 1.054 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.4319, allocations: 3.938 kB / 1.054 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.108e-06/0.4319, allocations: 7.938 kB / 1.054 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002295/0.4321, allocations: 59.91 kB / 1.054 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.4321, allocations: 7.984 kB / 1.054 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003394/0.4325, allocations: 48.02 kB / 1.054 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/0.4325, allocations: 12 kB / 1.054 GB, free: 5.25 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.000174/0.4327, allocations: 200.2 kB / 1.054 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.275e-05/0.4328, allocations: 47.38 kB / 1.054 GB, free: 5 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006669/0.4335, allocations: 265.6 kB / 1.054 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/0.4335, allocations: 8 kB / 1.054 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.4335, allocations: 0 / 1.054 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.4335, allocations: 0 / 1.054 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001195/0.4347, allocations: 0.7278 MB / 1.055 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.4347, allocations: 4 kB / 1.055 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000168/0.4349, allocations: 28.11 kB / 1.055 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.4349, allocations: 4 kB / 1.055 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.4349, allocations: 11.98 kB / 1.055 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.435, allocations: 0 / 1.055 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.435, allocations: 7.984 kB / 1.055 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005359/0.4355, allocations: 360.6 kB / 1.055 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/0.4357, allocations: 152.4 kB / 1.056 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.412e-05/0.4357, allocations: 0 / 1.056 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.4359, allocations: 15.98 kB / 1.056 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.185e-05/0.436, allocations: 15.92 kB / 1.056 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.436, allocations: 12 kB / 1.056 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0005002/0.4365, allocations: 414.8 kB / 1.056 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4366, allocations: 0 / 1.056 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0008248/0.4374, allocations: 227.7 kB / 1.056 GB, free: 2.656 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.001676/0.4391, allocations: 0.4928 MB / 1.057 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007952/0.4399, allocations: 329.8 kB / 1.057 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4399, allocations: 0 / 1.057 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002053/0.4401, allocations: 93 kB / 1.057 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001279/0.4414, allocations: 243.2 kB / 1.057 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.443, allocations: 0.8576 MB / 1.058 GB, free: 0.7461 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005484/0.4436, allocations: 0.8428 MB / 1.059 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.694e-05/0.4437, allocations: 39.42 kB / 1.059 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of SimCode: time 3.31e-07/0.4437, allocations: 0 / 1.059 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of Templates: time 0.01513/0.4588, allocations: 8.519 MB / 1.067 GB, free: 7.398 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 -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