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.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.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.001585/0.001585, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001744/0.001744, allocations: 192.1 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.72/1.72, allocations: 222.9 MB / 241 MB, free: 15.16 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.436/2.436, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 64.84 kB / 0.8707 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3644, allocations: 151.6 MB / 1.019 GB, free: 9.836 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01774/0.3822, allocations: 15.56 MB / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.007137/0.3894, allocations: 4.334 MB / 1.038 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008725/0.3903, allocations: 15.88 kB / 1.038 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001271/0.3916, allocations: 266.3 kB / 1.038 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.002188/0.3939, allocations: 0.6041 MB / 1.039 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002443/0.3963, allocations: 0.7026 MB / 1.04 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.002092/0.3984, allocations: 1.037 MB / 1.041 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008916/0.3993, allocations: 328.7 kB / 1.041 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001082/0.4004, allocations: 430.3 kB / 1.041 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007109/0.4012, allocations: 322.5 kB / 1.042 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001166/0.4013, allocations: 28 kB / 1.042 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001657/0.4029, allocations: 0.6317 MB / 1.042 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002166/0.4032, allocations: 107.5 kB / 1.043 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0004499/0.4036, allocations: 226.7 kB / 1.043 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001788/0.4054, allocations: 0.7633 MB / 1.043 GB, free: 440 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.4055, allocations: 3.984 kB / 1.044 GB, free: 436 kB / 0.8106 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4055, allocations: 0 / 1.044 GB, free: 436 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.061e-05/0.4055, allocations: 0 / 1.044 GB, free: 436 kB / 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.001734/0.4072, allocations: 0.8214 MB / 1.044 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.4073, allocations: 11.97 kB / 1.044 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001882/0.4075, allocations: 60.28 kB / 1.044 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009841/0.4085, allocations: 437.4 kB / 1.045 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.099e-05/0.4085, allocations: 20.44 kB / 1.045 GB, free: 15 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.048e-05/0.4086, allocations: 28 kB / 1.045 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005108/0.4091, allocations: 211.2 kB / 1.045 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.4091, allocations: 0 / 1.045 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/0.4092, allocations: 12 kB / 1.045 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.4092, allocations: 4 kB / 1.045 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004085/0.4096, allocations: 173.6 kB / 1.045 GB, free: 14.57 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.002109/0.4117, allocations: 0.9418 MB / 1.046 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000367/0.4121, allocations: 134.6 kB / 1.046 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001978/0.4123, allocations: 72.69 kB / 1.046 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004446/0.4127, allocations: 336.4 kB / 1.047 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.4128, allocations: 30.56 kB / 1.047 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=14): time 1.773e-06/0.4128, allocations: 0 / 1.047 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.0007478/0.4136, allocations: 249 kB / 1.047 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/0.4136, allocations: 51.41 kB / 1.047 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006494/0.4143, allocations: 474 kB / 1.047 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.407e-05/0.4143, allocations: 37.7 kB / 1.047 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002005/0.4145, allocations: 228.5 kB / 1.048 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.829e-05/0.4146, allocations: 51.3 kB / 1.048 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.4147, allocations: 61.69 kB / 1.048 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.4149, allocations: 354.7 kB / 1.048 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/0.4151, allocations: 72.81 kB / 1.048 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002918/0.4154, allocations: 151.6 kB / 1.048 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003534/0.4158, allocations: 169.1 kB / 1.049 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.4158, allocations: 0 / 1.049 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006109/0.4164, allocations: 253 kB / 1.049 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.4164, allocations: 8 kB / 1.049 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/0.4165, allocations: 0 / 1.049 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.4165, allocations: 3.938 kB / 1.049 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.4167, allocations: 43.97 kB / 1.049 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.4167, allocations: 0 / 1.049 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003809/0.4171, allocations: 35.83 kB / 1.049 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.388e-05/0.4172, allocations: 15.98 kB / 1.049 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003109/0.4175, allocations: 188.7 kB / 1.049 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000259/0.4178, allocations: 167.6 kB / 1.049 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003208/0.4181, allocations: 168.1 kB / 1.049 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.503e-06/0.4181, allocations: 0 / 1.049 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005402/0.4187, allocations: 261 kB / 1.05 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.4187, allocations: 4 kB / 1.05 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.4187, allocations: 4 kB / 1.05 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.689e-06/0.4187, allocations: 0 / 1.05 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001967/0.4189, allocations: 48.16 kB / 1.05 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.4189, allocations: 4 kB / 1.05 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003385/0.4193, allocations: 35.78 kB / 1.05 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-05/0.4193, allocations: 11.98 kB / 1.05 GB, free: 9.656 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.0001345/0.4195, allocations: 200.2 kB / 1.05 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.806e-05/0.4196, allocations: 43.44 kB / 1.05 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005455/0.4201, allocations: 252.1 kB / 1.05 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.4201, allocations: 11.92 kB / 1.05 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.4201, allocations: 0 / 1.05 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.85e-06/0.4202, allocations: 4 kB / 1.05 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.4213, allocations: 0.7005 MB / 1.051 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.4213, allocations: 0 / 1.051 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/0.4214, allocations: 27.98 kB / 1.051 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.4214, allocations: 0 / 1.051 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.4214, allocations: 16.05 kB / 1.051 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.4215, allocations: 3.938 kB / 1.051 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.4215, allocations: 4 kB / 1.051 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005222/0.422, allocations: 341.4 kB / 1.051 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001873/0.4222, allocations: 140.5 kB / 1.051 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.044e-05/0.4223, allocations: 0 / 1.051 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002275/0.4225, allocations: 19.92 kB / 1.051 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.685e-05/0.4226, allocations: 15.92 kB / 1.051 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.4226, allocations: 8 kB / 1.051 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003978/0.423, allocations: 334.9 kB / 1.052 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.2e-07/0.423, allocations: 4 kB / 1.052 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000699/0.4237, allocations: 195.7 kB / 1.052 GB, free: 7.246 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.001278/0.425, allocations: 475 kB / 1.052 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006761/0.4257, allocations: 270.3 kB / 1.053 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.4257, allocations: 4 kB / 1.053 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001885/0.4259, allocations: 84.2 kB / 1.053 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009683/0.4269, allocations: 197.6 kB / 1.053 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.4282, allocations: 0.7089 MB / 1.054 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004318/0.4287, allocations: 0.8309 MB / 1.054 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003126/0.429, allocations: 87.14 kB / 1.055 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.259e-05/0.4291, allocations: 43.36 kB / 1.055 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.4291, allocations: 0 / 1.055 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of Templates: time 0.01662/0.4457, allocations: 8.478 MB / 1.063 GB, free: 12.3 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=480 -s gbode -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