Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flowOpPoi.m_flow|senM_flowKv.m_flow|senM_flowCv.m_flow|senM_flowAv.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flowOpPoi.m_flow|senM_flowKv.m_flow|senM_flowCv.m_flow|senM_flowAv.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.00103, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001628/0.001629, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.529/1.529, allocations: 223.3 MB / 240 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.557/2.557, allocations: 390.9 MB / 0.666 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003518/0.0003519, allocations: 8 kB / 0.8154 GB, free: 13.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8523/0.8527, allocations: 142.4 MB / 0.9544 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1401/0.9928, allocations: 142.7 MB / 1.094 GB, free: 480 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0472/1.04, allocations: 28.63 MB / 1.122 GB, free: 3.785 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006774/1.047, allocations: 119.1 kB / 1.122 GB, free: 3.668 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.00331/1.05, allocations: 0.6905 MB / 1.123 GB, free: 2.973 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.009117/1.059, allocations: 2.515 MB / 1.125 GB, free: 460 kB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.006555/1.066, allocations: 2.01 MB / 1.127 GB, free: 14.47 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0102/1.076, allocations: 6.244 MB / 1.133 GB, free: 8.207 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004267/1.08, allocations: 1.671 MB / 1.135 GB, free: 6.504 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006789/1.087, allocations: 2.216 MB / 1.137 GB, free: 4.277 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004554/1.092, allocations: 1.793 MB / 1.139 GB, free: 2.477 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001021/1.093, allocations: 96 kB / 1.139 GB, free: 2.383 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003556/1.096, allocations: 0.854 MB / 1.14 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001178/1.098, allocations: 418 kB / 1.14 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001531/1.099, allocations: 468.5 kB / 1.14 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.004152/1.103, allocations: 2.414 MB / 1.143 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/1.103, allocations: 3.938 kB / 1.143 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.585e-06/1.103, allocations: 0 / 1.143 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001675/1.104, allocations: 0 / 1.143 GB, free: 14.23 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.005825/1.109, allocations: 2.371 MB / 1.145 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/1.11, allocations: 12.03 kB / 1.145 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001016/1.111, allocations: 260.8 kB / 1.145 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003558/1.114, allocations: 1.373 MB / 1.147 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001236/1.114, allocations: 106.3 kB / 1.147 GB, free: 9.977 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003164/1.115, allocations: 140 kB / 1.147 GB, free: 9.84 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002675/1.117, allocations: 1.156 MB / 1.148 GB, free: 8.656 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/1.117, allocations: 4 kB / 1.148 GB, free: 8.652 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001337/1.117, allocations: 48 kB / 1.148 GB, free: 8.605 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.628e-05/1.117, allocations: 28 kB / 1.148 GB, free: 8.578 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002123/1.12, allocations: 1.009 MB / 1.149 GB, free: 7.562 MB / 0.9044 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.01146/1.131, allocations: 6.359 MB / 1.155 GB, free: 0.7344 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009274/1.132, allocations: 0.5725 MB / 1.156 GB, free: 160 kB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006211/1.133, allocations: 391.8 kB / 1.156 GB, free: 15.77 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000424/1.133, allocations: 0.4992 MB / 1.157 GB, free: 15.16 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/1.133, allocations: 43.05 kB / 1.157 GB, free: 15.11 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001721/1.135, allocations: 334.8 kB / 1.157 GB, free: 14.78 MB / 0.92 GB Notification: Performance of pre-optimization done (n=58): time 8.035e-06/1.135, allocations: 0 / 1.157 GB, free: 14.78 MB / 0.92 GB Notification: Performance of matching and sorting (n=58): time 0.002361/1.137, allocations: 1.137 MB / 1.158 GB, free: 13.64 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/1.137, allocations: 55.97 kB / 1.158 GB, free: 13.57 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002915/1.14, allocations: 1.884 MB / 1.16 GB, free: 11.66 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001376/1.14, allocations: 45.7 kB / 1.16 GB, free: 11.61 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000771/1.141, allocations: 0.9185 MB / 1.161 GB, free: 10.68 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001739/1.141, allocations: 205.1 kB / 1.161 GB, free: 10.48 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.568e-05/1.141, allocations: 28 kB / 1.161 GB, free: 10.45 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001406/1.142, allocations: 345.9 kB / 1.162 GB, free: 10.11 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007869/1.142, allocations: 418.4 kB / 1.162 GB, free: 9.699 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009383/1.143, allocations: 0.6567 MB / 1.163 GB, free: 8.961 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008773/1.144, allocations: 0.5021 MB / 1.163 GB, free: 8.461 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/1.144, allocations: 0 / 1.163 GB, free: 8.461 MB / 0.92 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002393/1.147, allocations: 1.361 MB / 1.164 GB, free: 7.09 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001201/1.147, allocations: 194.6 kB / 1.165 GB, free: 6.855 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/1.147, allocations: 4 kB / 1.165 GB, free: 6.852 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/1.147, allocations: 11.94 kB / 1.165 GB, free: 6.84 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/1.148, allocations: 295.5 kB / 1.165 GB, free: 6.551 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.716e-05/1.148, allocations: 12 kB / 1.165 GB, free: 6.539 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001634/1.15, allocations: 147.6 kB / 1.165 GB, free: 6.395 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/1.15, allocations: 59.95 kB / 1.165 GB, free: 6.336 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/1.15, allocations: 5.406 kB / 1.165 GB, free: 6.332 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002011/1.152, allocations: 1.143 MB / 1.166 GB, free: 5.188 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/1.152, allocations: 384 / 1.166 GB, free: 5.188 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/1.152, allocations: 19.95 kB / 1.166 GB, free: 5.168 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/1.153, allocations: 283.6 kB / 1.167 GB, free: 4.891 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.258e-05/1.153, allocations: 15.92 kB / 1.167 GB, free: 4.875 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/1.155, allocations: 155.6 kB / 1.167 GB, free: 4.723 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/1.155, allocations: 55.95 kB / 1.167 GB, free: 4.668 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (150): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008561/1.156, allocations: 444.8 kB / 1.167 GB, free: 4.223 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004196/1.156, allocations: 205.4 kB / 1.167 GB, free: 4.02 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002214/1.158, allocations: 1.081 MB / 1.168 GB, free: 2.93 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.752e-05/1.158, allocations: 11.95 kB / 1.168 GB, free: 2.918 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/1.158, allocations: 0 / 1.168 GB, free: 2.918 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/1.158, allocations: 3.984 kB / 1.168 GB, free: 2.914 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004244/1.163, allocations: 2.41 MB / 1.171 GB, free: 436 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.796e-06/1.163, allocations: 0 / 1.171 GB, free: 436 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005818/1.163, allocations: 144 kB / 1.171 GB, free: 292 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.592e-05/1.163, allocations: 4 kB / 1.171 GB, free: 288 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.358e-05/1.163, allocations: 23.98 kB / 1.171 GB, free: 264 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.075e-06/1.163, allocations: 7.938 kB / 1.171 GB, free: 256 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/1.163, allocations: 3.938 kB / 1.171 GB, free: 252 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/1.165, allocations: 1.058 MB / 1.172 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008394/1.166, allocations: 370.3 kB / 1.172 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003741/1.166, allocations: 20 kB / 1.172 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/1.167, allocations: 103.6 kB / 1.172 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/1.167, allocations: 52.53 kB / 1.173 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.971e-05/1.168, allocations: 23.98 kB / 1.173 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002238/1.17, allocations: 1.236 MB / 1.174 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.1e-07/1.17, allocations: 0 / 1.174 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.003113/1.173, allocations: 0.9044 MB / 1.175 GB, free: 12.41 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001195/1.174, allocations: 345.5 kB / 1.175 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003676/1.178, allocations: 1.583 MB / 1.177 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/1.178, allocations: 448 / 1.177 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007126/1.179, allocations: 403.5 kB / 1.177 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006084/1.185, allocations: 1.133 MB / 1.178 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006526/1.191, allocations: 3.524 MB / 1.181 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001174/1.192, allocations: 1.405 MB / 1.183 GB, free: 3.969 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.002354/1.195, allocations: 402 kB / 1.183 GB, free: 3.578 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006303/1.195, allocations: 163.4 kB / 1.183 GB, free: 3.418 MB / 0.9356 GB Notification: Performance of SimCode: time 1.293e-06/1.195, allocations: 0 / 1.183 GB, free: 3.418 MB / 0.9356 GB Notification: Performance of Templates: time 0.06725/1.263, allocations: 36.04 MB / 1.219 GB, free: 15.94 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches