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.001847/0.001846, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002646/0.002646, allocations: 194.5 kB / 16.14 MB, free: 6.645 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.461/1.461, allocations: 222.9 MB / 239.8 MB, free: 4.598 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.385/2.385, allocations: 390.2 MB / 0.6642 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 59.91 kB / 0.8118 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.904/0.9053, allocations: 140.4 MB / 0.9489 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1653/1.071, allocations: 153.4 MB / 1.099 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.04682/1.117, allocations: 30.47 MB / 1.128 GB, free: 9.738 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006258/1.124, allocations: 123.2 kB / 1.129 GB, free: 9.617 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.003704/1.128, allocations: 0.8272 MB / 1.129 GB, free: 8.785 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01046/1.138, allocations: 2.905 MB / 1.132 GB, free: 5.875 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.009038/1.147, allocations: 2.272 MB / 1.134 GB, free: 3.633 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01243/1.16, allocations: 7.401 MB / 1.142 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004286/1.164, allocations: 1.896 MB / 1.144 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00695/1.171, allocations: 2.431 MB / 1.146 GB, free: 7.82 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004051/1.175, allocations: 1.976 MB / 1.148 GB, free: 5.836 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0008484/1.176, allocations: 120 kB / 1.148 GB, free: 5.719 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003359/1.179, allocations: 0.9593 MB / 1.149 GB, free: 4.758 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0009503/1.18, allocations: 481.8 kB / 1.149 GB, free: 4.285 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.002584/1.183, allocations: 1.177 MB / 1.15 GB, free: 3.102 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.004657/1.187, allocations: 3.204 MB / 1.154 GB, free: 15.89 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/1.187, allocations: 3.938 kB / 1.154 GB, free: 15.88 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.362e-06/1.188, allocations: 4 kB / 1.154 GB, free: 15.88 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.000118/1.188, allocations: 0 / 1.154 GB, free: 15.88 MB / 0.92 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.006092/1.194, allocations: 2.783 MB / 1.156 GB, free: 13.03 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/1.194, allocations: 8.031 kB / 1.156 GB, free: 13.02 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006285/1.194, allocations: 268.8 kB / 1.157 GB, free: 12.76 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002618/1.197, allocations: 1.438 MB / 1.158 GB, free: 11.25 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.835e-05/1.197, allocations: 102.3 kB / 1.158 GB, free: 11.14 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001974/1.197, allocations: 140 kB / 1.158 GB, free: 11.01 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002128/1.199, allocations: 1.167 MB / 1.159 GB, free: 9.812 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/1.2, allocations: 3.938 kB / 1.159 GB, free: 9.809 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/1.2, allocations: 44 kB / 1.159 GB, free: 9.766 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.394e-05/1.2, allocations: 31.98 kB / 1.159 GB, free: 9.734 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001785/1.201, allocations: 1.016 MB / 1.16 GB, free: 8.711 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.009839/1.211, allocations: 6.324 MB / 1.167 GB, free: 1.922 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009676/1.212, allocations: 0.5683 MB / 1.167 GB, free: 1.348 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006813/1.213, allocations: 387.8 kB / 1.168 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004183/1.213, allocations: 0.507 MB / 1.168 GB, free: 356 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/1.213, allocations: 35.12 kB / 1.168 GB, free: 312 kB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00153/1.215, allocations: 334.7 kB / 1.168 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=58): time 4.208e-06/1.215, allocations: 0 / 1.168 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of matching and sorting (n=58): time 0.002092/1.217, allocations: 1.121 MB / 1.169 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/1.217, allocations: 59.97 kB / 1.17 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00234/1.22, allocations: 1.9 MB / 1.171 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001029/1.22, allocations: 45.7 kB / 1.171 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007514/1.22, allocations: 0.9224 MB / 1.172 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001696/1.221, allocations: 201.1 kB / 1.173 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004386/1.221, allocations: 298.6 kB / 1.173 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001698/1.221, allocations: 361.9 kB / 1.173 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008177/1.222, allocations: 437.9 kB / 1.174 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001061/1.223, allocations: 0.6762 MB / 1.174 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001574/1.225, allocations: 0.95 MB / 1.175 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/1.225, allocations: 0 / 1.175 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002573/1.227, allocations: 1.404 MB / 1.177 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/1.227, allocations: 8 kB / 1.177 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/1.227, allocations: 4.047 kB / 1.177 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/1.227, allocations: 11.98 kB / 1.177 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/1.229, allocations: 287.9 kB / 1.177 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.686e-05/1.229, allocations: 11.94 kB / 1.177 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001766/1.23, allocations: 151.5 kB / 1.177 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001303/1.231, allocations: 59.95 kB / 1.177 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001338/1.232, allocations: 0.7133 MB / 1.178 GB, free: 6.176 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009411/1.233, allocations: 0.6567 MB / 1.178 GB, free: 5.438 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001416/1.234, allocations: 0.907 MB / 1.179 GB, free: 4.492 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.436e-06/1.234, allocations: 0 / 1.179 GB, free: 4.492 MB / 0.9356 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002487/1.237, allocations: 1.349 MB / 1.181 GB, free: 3.133 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/1.237, allocations: 10.09 kB / 1.181 GB, free: 3.125 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/1.237, allocations: 11.98 kB / 1.181 GB, free: 3.113 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/1.237, allocations: 8 kB / 1.181 GB, free: 3.105 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/1.238, allocations: 279.6 kB / 1.181 GB, free: 2.832 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/1.238, allocations: 8 kB / 1.181 GB, free: 2.824 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002001/1.24, allocations: 155.5 kB / 1.181 GB, free: 2.672 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/1.24, allocations: 59.95 kB / 1.181 GB, free: 2.613 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.0004122/1.241, allocations: 240 kB / 1.181 GB, free: 2.371 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003545/1.241, allocations: 197.5 kB / 1.182 GB, free: 2.176 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002242/1.243, allocations: 1.069 MB / 1.183 GB, free: 1.098 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/1.243, allocations: 8 kB / 1.183 GB, free: 1.09 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/1.243, allocations: 3.938 kB / 1.183 GB, free: 1.086 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/1.243, allocations: 7.984 kB / 1.183 GB, free: 1.078 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003798/1.247, allocations: 2.406 MB / 1.185 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/1.247, allocations: 192 / 1.185 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000583/1.248, allocations: 135.8 kB / 1.185 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.047e-05/1.248, allocations: 8 kB / 1.185 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.754e-05/1.248, allocations: 23.92 kB / 1.185 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/1.248, allocations: 8 kB / 1.185 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.248, allocations: 0 / 1.185 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001561/1.249, allocations: 1.05 MB / 1.186 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006976/1.25, allocations: 354.3 kB / 1.186 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002196/1.25, allocations: 16 kB / 1.186 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009165/1.251, allocations: 99.69 kB / 1.187 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/1.251, allocations: 52.58 kB / 1.187 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-05/1.251, allocations: 24 kB / 1.187 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001949/1.253, allocations: 1.256 MB / 1.188 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/1.253, allocations: 0 / 1.188 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002585/1.256, allocations: 0.916 MB / 1.189 GB, free: 10.59 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.0008279/1.257, allocations: 340.6 kB / 1.189 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003365/1.26, allocations: 1.599 MB / 1.191 GB, free: 8.66 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/1.26, allocations: 0 / 1.191 GB, free: 8.66 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006771/1.261, allocations: 395.5 kB / 1.191 GB, free: 8.277 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005583/1.267, allocations: 1.143 MB / 1.192 GB, free: 7.152 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005689/1.272, allocations: 3.711 MB / 1.196 GB, free: 3.387 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001019/1.273, allocations: 1.413 MB / 1.197 GB, free: 1.938 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002234/1.276, allocations: 402.3 kB / 1.198 GB, free: 1.547 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004566/1.276, allocations: 163.4 kB / 1.198 GB, free: 1.391 MB / 0.9512 GB Notification: Performance of SimCode: time 6.21e-07/1.276, allocations: 0 / 1.198 GB, free: 1.391 MB / 0.9512 GB Notification: Performance of Templates: time 0.07002/1.346, allocations: 37.39 MB / 1.234 GB, free: 12.55 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