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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.0009588/0.0009591, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007734/0.007734, allocations: 168.6 kB / 16.26 MB, free: 6.652 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.518/1.518, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.446/2.446, allocations: 390.9 MB / 0.6663 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003933/0.0003934, allocations: 12 kB / 0.816 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9117/0.9121, allocations: 142.4 MB / 0.955 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1655/1.078, allocations: 151.1 MB / 1.103 GB, free: 7.852 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.05241/1.13, allocations: 30.15 MB / 1.132 GB, free: 9.629 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008926/1.139, allocations: 127.1 kB / 1.132 GB, free: 9.504 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.004293/1.143, allocations: 0.8155 MB / 1.133 GB, free: 8.684 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01443/1.158, allocations: 2.903 MB / 1.136 GB, free: 5.773 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.01043/1.168, allocations: 2.297 MB / 1.138 GB, free: 3.508 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01588/1.184, allocations: 7.391 MB / 1.145 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004908/1.189, allocations: 1.85 MB / 1.147 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007626/1.197, allocations: 2.372 MB / 1.149 GB, free: 7.812 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004565/1.201, allocations: 1.898 MB / 1.151 GB, free: 5.906 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.00111/1.203, allocations: 96 kB / 1.151 GB, free: 5.812 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003758/1.206, allocations: 0.9397 MB / 1.152 GB, free: 4.871 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.001191/1.208, allocations: 449.8 kB / 1.153 GB, free: 4.43 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.00344/1.211, allocations: 1.144 MB / 1.154 GB, free: 3.273 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.006565/1.218, allocations: 3.129 MB / 1.157 GB, free: 136 kB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/1.218, allocations: 0 / 1.157 GB, free: 136 kB / 0.9044 GB Notification: Performance of FrontEnd: time 2.625e-06/1.218, allocations: 0 / 1.157 GB, free: 136 kB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.196e-05/1.218, allocations: 0 / 1.157 GB, free: 136 kB / 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.005626/1.223, allocations: 2.344 MB / 1.159 GB, free: 13.73 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/1.224, allocations: 8.031 kB / 1.159 GB, free: 13.72 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005202/1.224, allocations: 268.8 kB / 1.159 GB, free: 13.45 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002533/1.227, allocations: 1.446 MB / 1.161 GB, free: 11.93 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.247e-05/1.227, allocations: 102.3 kB / 1.161 GB, free: 11.83 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002125/1.227, allocations: 140 kB / 1.161 GB, free: 11.7 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002247/1.229, allocations: 1.167 MB / 1.162 GB, free: 10.5 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.774e-05/1.229, allocations: 7.938 kB / 1.162 GB, free: 10.49 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/1.229, allocations: 44 kB / 1.162 GB, free: 10.45 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.643e-05/1.229, allocations: 28 kB / 1.162 GB, free: 10.42 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001904/1.231, allocations: 1.024 MB / 1.163 GB, free: 9.391 MB / 0.92 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.01089/1.242, allocations: 6.355 MB / 1.169 GB, free: 2.562 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/1.243, allocations: 0.584 MB / 1.17 GB, free: 1.973 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005974/1.244, allocations: 386.4 kB / 1.17 GB, free: 1.594 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004598/1.244, allocations: 0.5031 MB / 1.171 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/1.244, allocations: 47.05 kB / 1.171 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001707/1.246, allocations: 330.7 kB / 1.171 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of pre-optimization done (n=58): time 3.286e-06/1.246, allocations: 0 / 1.171 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of matching and sorting (n=58): time 0.002222/1.248, allocations: 1.133 MB / 1.172 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/1.248, allocations: 63.91 kB / 1.172 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002668/1.251, allocations: 1.908 MB / 1.174 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001374/1.251, allocations: 45.7 kB / 1.174 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008248/1.252, allocations: 0.9224 MB / 1.175 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001944/1.252, allocations: 201.1 kB / 1.175 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000172/1.252, allocations: 117.6 kB / 1.175 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001558/1.253, allocations: 353.9 kB / 1.176 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008115/1.253, allocations: 438.4 kB / 1.176 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/1.255, allocations: 0.684 MB / 1.177 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001596/1.256, allocations: 0.9657 MB / 1.178 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/1.256, allocations: 0 / 1.178 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002617/1.259, allocations: 1.408 MB / 1.179 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001505/1.259, allocations: 196.2 kB / 1.179 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/1.259, allocations: 7.938 kB / 1.179 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.863e-05/1.259, allocations: 8 kB / 1.179 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/1.26, allocations: 283.6 kB / 1.18 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.776e-05/1.26, allocations: 15.98 kB / 1.18 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002007/1.262, allocations: 155.5 kB / 1.18 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/1.262, allocations: 59.95 kB / 1.18 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.856e-06/1.262, allocations: 4 kB / 1.18 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002007/1.264, allocations: 1.151 MB / 1.181 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/1.264, allocations: 4.375 kB / 1.181 GB, free: 6.258 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/1.264, allocations: 15.94 kB / 1.181 GB, free: 6.242 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/1.266, allocations: 283.6 kB / 1.181 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.593e-05/1.266, allocations: 8 kB / 1.181 GB, free: 5.957 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002914/1.269, allocations: 155.5 kB / 1.182 GB, free: 5.805 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001227/1.269, allocations: 63.95 kB / 1.182 GB, free: 5.742 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008909/1.27, allocations: 444.8 kB / 1.182 GB, free: 5.297 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003386/1.27, allocations: 205.4 kB / 1.182 GB, free: 5.094 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002981/1.273, allocations: 1.083 MB / 1.183 GB, free: 4.012 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-05/1.273, allocations: 8 kB / 1.183 GB, free: 4.004 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/1.273, allocations: 0 / 1.183 GB, free: 4.004 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.483e-05/1.273, allocations: 3.984 kB / 1.183 GB, free: 4 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004704/1.278, allocations: 2.406 MB / 1.186 GB, free: 1.516 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/1.278, allocations: 0 / 1.186 GB, free: 1.516 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006029/1.278, allocations: 147.9 kB / 1.186 GB, free: 1.371 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-05/1.278, allocations: 8 kB / 1.186 GB, free: 1.363 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.6e-05/1.278, allocations: 23.98 kB / 1.186 GB, free: 1.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/1.278, allocations: 7.938 kB / 1.186 GB, free: 1.332 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/1.278, allocations: 4 kB / 1.186 GB, free: 1.328 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001573/1.28, allocations: 1.054 MB / 1.187 GB, free: 240 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006972/1.281, allocations: 390.2 kB / 1.187 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000192/1.281, allocations: 16 kB / 1.187 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009479/1.282, allocations: 95.67 kB / 1.187 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/1.282, allocations: 52.58 kB / 1.187 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-05/1.282, allocations: 31.94 kB / 1.187 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001809/1.284, allocations: 1.248 MB / 1.189 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.8e-07/1.284, allocations: 4 kB / 1.189 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002308/1.286, allocations: 0.9044 MB / 1.189 GB, free: 13.46 MB / 0.9512 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 (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.0007475/1.287, allocations: 348.9 kB / 1.19 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002979/1.29, allocations: 1.618 MB / 1.191 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/1.29, allocations: 384 / 1.191 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006611/1.291, allocations: 399.5 kB / 1.192 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006709/1.297, allocations: 1.141 MB / 1.193 GB, free: 10 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00583/1.303, allocations: 3.737 MB / 1.197 GB, free: 6.211 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001087/1.304, allocations: 1.405 MB / 1.198 GB, free: 4.77 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002166/1.307, allocations: 405.8 kB / 1.198 GB, free: 4.379 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004326/1.307, allocations: 163.4 kB / 1.198 GB, free: 4.219 MB / 0.9512 GB Notification: Performance of SimCode: time 1.082e-06/1.307, allocations: 0 / 1.198 GB, free: 4.219 MB / 0.9512 GB Notification: Performance of Templates: time 0.06757/1.375, allocations: 37.16 MB / 1.235 GB, free: 15.61 MB / 0.9981 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