Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valOPPoi.m_flow|valKv.m_flow|valCv.m_flow|valAv.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valOPPoi.m_flow|valKv.m_flow|valCv.m_flow|valAv.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001188, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.01116/0.01116, allocations: 176.2 kB / 16.27 MB, free: 6.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.447/1.447, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.791/2.791, allocations: 462.7 MB / 0.7364 GB, free: 336 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003925/0.0003926, allocations: 9.812 kB / 0.9028 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3711, allocations: 159.6 MB / 1.059 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.03719/0.4084, allocations: 29.86 MB / 1.088 GB, free: 7.547 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01666/0.4251, allocations: 10.73 MB / 1.098 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001541/0.4267, allocations: 23.81 kB / 1.098 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001419/0.4281, allocations: 318.1 kB / 1.099 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003686/0.4318, allocations: 1.057 MB / 1.1 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002496/0.4343, allocations: 0.7637 MB / 1.1 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003845/0.4382, allocations: 2.838 MB / 1.103 GB, free: 7.789 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001245/0.4394, allocations: 0.5615 MB / 1.104 GB, free: 7.219 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002537/0.442, allocations: 0.8828 MB / 1.105 GB, free: 6.332 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001564/0.4436, allocations: 0.6767 MB / 1.105 GB, free: 5.652 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001974/0.4438, allocations: 28 kB / 1.105 GB, free: 5.625 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001703/0.4455, allocations: 0.5653 MB / 1.106 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002048/0.4457, allocations: 143.2 kB / 1.106 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005823/0.4463, allocations: 415.5 kB / 1.106 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001348/0.4476, allocations: 1.055 MB / 1.107 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.4477, allocations: 0 / 1.107 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.386e-06/0.4477, allocations: 3.984 kB / 1.107 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.4477, allocations: 0 / 1.107 GB, free: 3.441 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001698/0.4494, allocations: 1.02 MB / 1.108 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.4494, allocations: 11.97 kB / 1.108 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001515/0.4496, allocations: 99.81 kB / 1.108 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008122/0.4504, allocations: 0.5656 MB / 1.109 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.288e-05/0.4505, allocations: 37 kB / 1.109 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.352e-05/0.4506, allocations: 56 kB / 1.109 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007858/0.4514, allocations: 418.4 kB / 1.11 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.4514, allocations: 0 / 1.11 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.881e-05/0.4514, allocations: 19.94 kB / 1.11 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.4515, allocations: 16 kB / 1.11 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006096/0.4521, allocations: 315.8 kB / 1.11 GB, free: 0.8086 MB / 0.8575 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.002875/0.455, allocations: 1.858 MB / 1.112 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003591/0.4553, allocations: 174.5 kB / 1.112 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.4555, allocations: 88.81 kB / 1.112 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003076/0.4558, allocations: 340.5 kB / 1.112 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.627e-05/0.4559, allocations: 34.52 kB / 1.112 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=19): time 1.794e-06/0.4559, allocations: 7.938 kB / 1.112 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19): time 0.0007665/0.4567, allocations: 319.2 kB / 1.113 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.4567, allocations: 59.36 kB / 1.113 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007724/0.4575, allocations: 0.6882 MB / 1.113 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.217e-05/0.4575, allocations: 29.7 kB / 1.113 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002804/0.4578, allocations: 360.7 kB / 1.114 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.954e-05/0.4579, allocations: 71.02 kB / 1.114 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.223e-05/0.458, allocations: 45.7 kB / 1.114 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.4581, allocations: 374.7 kB / 1.114 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002488/0.4584, allocations: 120.7 kB / 1.114 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000307/0.4587, allocations: 179.7 kB / 1.114 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004624/0.4592, allocations: 253 kB / 1.115 GB, free: 11.53 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.4592, allocations: 0 / 1.115 GB, free: 11.53 MB / 0.8731 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000727/0.4599, allocations: 406.2 kB / 1.115 GB, free: 11.13 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 8.547e-05/0.46, allocations: 111 kB / 1.115 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.46, allocations: 0 / 1.115 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.4601, allocations: 0 / 1.115 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.4611, allocations: 167.8 kB / 1.115 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001257/0.4624, allocations: 2.36 MB / 1.118 GB, free: 8.391 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006411/0.463, allocations: 87.78 kB / 1.118 GB, free: 8.305 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-05/0.4631, allocations: 19.98 kB / 1.118 GB, free: 8.285 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.4631, allocations: 4.109 kB / 1.118 GB, free: 8.281 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005812/0.4637, allocations: 299.7 kB / 1.118 GB, free: 7.988 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.4637, allocations: 0 / 1.118 GB, free: 7.988 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.609e-06/0.4637, allocations: 3.938 kB / 1.118 GB, free: 7.984 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004275/0.4641, allocations: 103.9 kB / 1.118 GB, free: 7.883 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/0.4642, allocations: 4 kB / 1.118 GB, free: 7.879 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004985/0.4647, allocations: 92.28 kB / 1.118 GB, free: 7.789 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.755e-05/0.4647, allocations: 16.19 kB / 1.118 GB, free: 7.773 MB / 0.8731 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000304/0.465, allocations: 261 kB / 1.119 GB, free: 7.508 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.777e-05/0.4651, allocations: 71.14 kB / 1.119 GB, free: 7.438 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006974/0.4658, allocations: 319.9 kB / 1.119 GB, free: 7.113 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.476e-05/0.4658, allocations: 11.92 kB / 1.119 GB, free: 7.102 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.4658, allocations: 0 / 1.119 GB, free: 7.102 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.4659, allocations: 4 kB / 1.119 GB, free: 7.098 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001285/0.4671, allocations: 0.8956 MB / 1.12 GB, free: 6.133 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.4672, allocations: 4 kB / 1.12 GB, free: 6.129 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003216/0.4675, allocations: 79.92 kB / 1.12 GB, free: 6.051 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.4675, allocations: 0 / 1.12 GB, free: 6.051 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.4675, allocations: 4 kB / 1.12 GB, free: 6.047 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001087/0.4686, allocations: 2.36 MB / 1.122 GB, free: 3.594 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.4686, allocations: 288 / 1.122 GB, free: 3.594 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000569/0.4692, allocations: 413.9 kB / 1.123 GB, free: 3.16 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002025/0.4694, allocations: 180 kB / 1.123 GB, free: 2.965 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.32e-05/0.4695, allocations: 4 kB / 1.123 GB, free: 2.961 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003997/0.4699, allocations: 43.95 kB / 1.123 GB, free: 2.918 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.153e-05/0.47, allocations: 19.97 kB / 1.123 GB, free: 2.898 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.47, allocations: 8 kB / 1.123 GB, free: 2.891 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005469/0.4706, allocations: 479 kB / 1.123 GB, free: 2.426 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4706, allocations: 7.938 kB / 1.123 GB, free: 2.418 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009257/0.4715, allocations: 347.1 kB / 1.124 GB, free: 2.078 MB / 0.8731 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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005837/0.4721, allocations: 247.3 kB / 1.124 GB, free: 1.84 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001641/0.4737, allocations: 0.5067 MB / 1.124 GB, free: 1.336 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4738, allocations: 0 / 1.124 GB, free: 1.336 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003927/0.4742, allocations: 143.8 kB / 1.124 GB, free: 1.195 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002139/0.4763, allocations: 370.5 kB / 1.125 GB, free: 0.8398 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002008/0.4783, allocations: 1.396 MB / 1.126 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004636/0.4788, allocations: 0.9332 MB / 1.127 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.000476/0.4793, allocations: 121.2 kB / 1.127 GB, free: 14.32 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.4794, allocations: 51.42 kB / 1.127 GB, free: 14.27 MB / 0.8887 GB Notification: Performance of SimCode: time 8.21e-07/0.4794, allocations: 0 / 1.127 GB, free: 14.27 MB / 0.8887 GB Notification: Performance of Templates: time 0.02411/0.5035, allocations: 12.35 MB / 1.139 GB, free: 2.125 MB / 0.8887 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches