Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001373/0.001373, allocations: 107.8 kB / 16.37 MB, free: 5.539 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.001197/0.001197, allocations: 194 kB / 17.31 MB, free: 5.18 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.434/1.434, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.537/2.537, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001589/0.00159, allocations: 71.7 kB / 0.8773 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3602/0.3618, allocations: 153 MB / 1.027 GB, free: 2.086 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01765/0.3795, allocations: 15.55 MB / 1.042 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.008274/0.3879, allocations: 4.338 MB / 1.046 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008077/0.3887, allocations: 15.94 kB / 1.046 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.3899, allocations: 254.3 kB / 1.046 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.002289/0.3922, allocations: 0.614 MB / 1.047 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002141/0.3944, allocations: 0.7155 MB / 1.048 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.00181/0.3962, allocations: 1.021 MB / 1.049 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007128/0.3969, allocations: 331.8 kB / 1.049 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001121/0.3981, allocations: 426.2 kB / 1.049 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005894/0.3987, allocations: 330.6 kB / 1.05 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.767e-05/0.3988, allocations: 32 kB / 1.05 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001482/0.4003, allocations: 0.6355 MB / 1.05 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001378/0.4004, allocations: 91.67 kB / 1.05 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002655/0.4007, allocations: 230.7 kB / 1.051 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001133/0.4018, allocations: 0.7633 MB / 1.051 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4018, allocations: 0 / 1.051 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.374e-06/0.4018, allocations: 0 / 1.051 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.836e-06/0.4019, allocations: 0 / 1.051 GB, free: 8.695 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001296/0.4032, allocations: 0.8291 MB / 1.052 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.4032, allocations: 12.03 kB / 1.052 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.4033, allocations: 52.28 kB / 1.052 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006743/0.404, allocations: 437.4 kB / 1.053 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.404, allocations: 20.44 kB / 1.053 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.11e-05/0.4041, allocations: 27.94 kB / 1.053 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004027/0.4045, allocations: 215.2 kB / 1.053 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.4045, allocations: 0 / 1.053 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.616e-05/0.4046, allocations: 4 kB / 1.053 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.4046, allocations: 8 kB / 1.053 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003536/0.4049, allocations: 165.6 kB / 1.053 GB, free: 6.848 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.001581/0.4065, allocations: 0.9418 MB / 1.054 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002896/0.4068, allocations: 130.5 kB / 1.054 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001596/0.407, allocations: 72.81 kB / 1.054 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002945/0.4073, allocations: 340.4 kB / 1.055 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.4073, allocations: 34.56 kB / 1.055 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=14): time 1.382e-06/0.4073, allocations: 0 / 1.055 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.0006038/0.4079, allocations: 237 kB / 1.055 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.408, allocations: 59.34 kB / 1.055 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004928/0.4085, allocations: 481.9 kB / 1.055 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.248e-05/0.4085, allocations: 37.64 kB / 1.055 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001801/0.4087, allocations: 224.6 kB / 1.056 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.738e-05/0.4088, allocations: 51.36 kB / 1.056 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.26e-05/0.4089, allocations: 53.7 kB / 1.056 GB, free: 4 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.409, allocations: 362.7 kB / 1.056 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/0.4092, allocations: 72.81 kB / 1.056 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002413/0.4094, allocations: 151.6 kB / 1.056 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003439/0.4098, allocations: 166.3 kB / 1.056 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.4098, allocations: 4 kB / 1.056 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000483/0.4103, allocations: 255.2 kB / 1.057 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.4103, allocations: 4 kB / 1.057 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.4103, allocations: 4 kB / 1.057 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.4104, allocations: 0 / 1.057 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002274/0.4106, allocations: 47.91 kB / 1.057 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.4106, allocations: 0 / 1.057 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003059/0.4109, allocations: 39.81 kB / 1.057 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.177e-05/0.411, allocations: 8 kB / 1.057 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002641/0.4112, allocations: 192.1 kB / 1.057 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002301/0.4115, allocations: 158.9 kB / 1.057 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003009/0.4118, allocations: 175.6 kB / 1.057 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.373e-06/0.4118, allocations: 0 / 1.057 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004691/0.4123, allocations: 260.9 kB / 1.058 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.286e-06/0.4123, allocations: 4 kB / 1.058 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.4123, allocations: 4 kB / 1.058 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.645e-06/0.4123, allocations: 0 / 1.058 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.4125, allocations: 47.91 kB / 1.058 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.4125, allocations: 0 / 1.058 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003119/0.4128, allocations: 39.81 kB / 1.058 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.198e-05/0.4129, allocations: 12.06 kB / 1.058 GB, free: 1.926 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.0001262/0.413, allocations: 200.1 kB / 1.058 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.787e-05/0.4131, allocations: 43.47 kB / 1.058 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005305/0.4136, allocations: 253.1 kB / 1.058 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.4136, allocations: 192 / 1.058 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.4136, allocations: 4 kB / 1.058 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.4136, allocations: 3.984 kB / 1.058 GB, free: 1.414 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009687/0.4146, allocations: 0.7005 MB / 1.059 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.4146, allocations: 3.938 kB / 1.059 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/0.4148, allocations: 32.09 kB / 1.059 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.4148, allocations: 8 kB / 1.059 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.4148, allocations: 4 kB / 1.059 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.4148, allocations: 7.938 kB / 1.059 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.4148, allocations: 4 kB / 1.059 GB, free: 0.5859 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004582/0.4153, allocations: 344.9 kB / 1.059 GB, free: 228 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/0.4155, allocations: 136.5 kB / 1.059 GB, free: 72 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.759e-05/0.4155, allocations: 4 kB / 1.059 GB, free: 68 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/0.4157, allocations: 15.92 kB / 1.059 GB, free: 52 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.367e-05/0.4158, allocations: 15.97 kB / 1.059 GB, free: 36 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.4158, allocations: 12.19 kB / 1.059 GB, free: 24 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003613/0.4162, allocations: 334.9 kB / 1.06 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.41e-07/0.4162, allocations: 3.938 kB / 1.06 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006407/0.4168, allocations: 195.7 kB / 1.06 GB, free: 15.5 MB / 0.8419 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.001096/0.4179, allocations: 480.5 kB / 1.06 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006153/0.4186, allocations: 263.7 kB / 1.061 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4186, allocations: 0 / 1.061 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002017/0.4188, allocations: 88.02 kB / 1.061 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000951/0.4197, allocations: 200.5 kB / 1.061 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.4209, allocations: 0.7013 MB / 1.062 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003799/0.4213, allocations: 0.8347 MB / 1.062 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002425/0.4216, allocations: 79.53 kB / 1.062 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.964e-05/0.4216, allocations: 39.42 kB / 1.062 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of SimCode: time 4.2e-07/0.4217, allocations: 0 / 1.062 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of Templates: time 0.01471/0.4364, allocations: 8.476 MB / 1.071 GB, free: 4.562 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches