Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001976/0.001976, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003512/0.003513, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.584/1.584, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.866/2.866, allocations: 437 MB / 0.7104 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002164/0.002164, allocations: 59.91 kB / 0.8692 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.877/0.8792, allocations: 151.6 MB / 1.017 GB, free: 2.496 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1897/1.069, allocations: 154.4 MB / 1.168 GB, free: 7.586 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.04995/1.119, allocations: 30.39 MB / 1.198 GB, free: 9.121 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007492/1.126, allocations: 143.1 kB / 1.198 GB, free: 8.98 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004412/1.131, allocations: 1.04 MB / 1.199 GB, free: 7.934 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.01162/1.143, allocations: 3.159 MB / 1.202 GB, free: 4.762 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.007379/1.15, allocations: 2.476 MB / 1.204 GB, free: 2.32 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.009531/1.16, allocations: 5.369 MB / 1.21 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003949/1.164, allocations: 2.236 MB / 1.212 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007296/1.171, allocations: 2.681 MB / 1.214 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005446/1.176, allocations: 1.957 MB / 1.216 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001148/1.178, allocations: 216 kB / 1.217 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005167/1.183, allocations: 1.088 MB / 1.218 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001216/1.184, allocations: 0.5603 MB / 1.218 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.004547/1.189, allocations: 1.271 MB / 1.219 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.008066/1.197, allocations: 3.279 MB / 1.223 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/1.197, allocations: 0 / 1.223 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.536e-06/1.197, allocations: 0 / 1.223 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.077e-05/1.197, allocations: 0 / 1.223 GB, free: 15.56 MB / 0.9825 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.006801/1.204, allocations: 2.783 MB / 1.225 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 7.313e-05/1.204, allocations: 15.98 kB / 1.225 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008077/1.204, allocations: 260.8 kB / 1.226 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003277/1.208, allocations: 1.457 MB / 1.227 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/1.208, allocations: 106.3 kB / 1.227 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002177/1.208, allocations: 136 kB / 1.227 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002421/1.211, allocations: 1.163 MB / 1.228 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.567e-05/1.211, allocations: 3.938 kB / 1.228 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/1.211, allocations: 44 kB / 1.228 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.559e-05/1.211, allocations: 35.92 kB / 1.228 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002107/1.213, allocations: 1.013 MB / 1.229 GB, free: 8.375 MB / 0.9825 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.0127/1.226, allocations: 6.367 MB / 1.236 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/1.227, allocations: 0.5699 MB / 1.236 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007174/1.227, allocations: 378.4 kB / 1.237 GB, free: 0.5898 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006116/1.228, allocations: 0.5031 MB / 1.237 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.461e-05/1.228, allocations: 43.11 kB / 1.237 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001404/1.229, allocations: 226.9 kB / 1.237 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=58): time 3.607e-06/1.23, allocations: 0 / 1.237 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=58): time 0.002467/1.232, allocations: 1.172 MB / 1.238 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/1.232, allocations: 55.97 kB / 1.239 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002745/1.235, allocations: 1.9 MB / 1.24 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001326/1.235, allocations: 53.64 kB / 1.24 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001007/1.236, allocations: 0.9145 MB / 1.241 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002088/1.236, allocations: 201.1 kB / 1.242 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005065/1.237, allocations: 302.5 kB / 1.242 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001891/1.237, allocations: 345.9 kB / 1.242 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009897/1.238, allocations: 449.9 kB / 1.243 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001142/1.239, allocations: 0.684 MB / 1.243 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001771/1.241, allocations: 0.9813 MB / 1.244 GB, free: 8.469 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/1.241, allocations: 4 kB / 1.244 GB, free: 8.465 MB / 0.9981 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002898/1.244, allocations: 1.412 MB / 1.246 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/1.244, allocations: 4 kB / 1.246 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/1.244, allocations: 4 kB / 1.246 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.589e-05/1.244, allocations: 8 kB / 1.246 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001274/1.245, allocations: 283.9 kB / 1.246 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.121e-05/1.245, allocations: 15.92 kB / 1.246 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001527/1.247, allocations: 67.94 kB / 1.246 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/1.247, allocations: 63.94 kB / 1.246 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001647/1.248, allocations: 0.7095 MB / 1.247 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001059/1.25, allocations: 0.6606 MB / 1.247 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001683/1.251, allocations: 0.9188 MB / 1.248 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.537e-06/1.251, allocations: 0 / 1.248 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002962/1.254, allocations: 1.346 MB / 1.25 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/1.254, allocations: 4 kB / 1.25 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/1.254, allocations: 4 kB / 1.25 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/1.254, allocations: 8 kB / 1.25 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/1.255, allocations: 271.6 kB / 1.25 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.768e-05/1.255, allocations: 15.92 kB / 1.25 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/1.257, allocations: 103.9 kB / 1.25 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/1.257, allocations: 55.95 kB / 1.25 GB, free: 2.391 MB / 0.9981 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 (144): * Single equations (assignments): 144 * 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.0005196/1.258, allocations: 229 kB / 1.25 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004041/1.258, allocations: 205.3 kB / 1.25 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002424/1.261, allocations: 1.098 MB / 1.251 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.25e-05/1.261, allocations: 15.92 kB / 1.252 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/1.261, allocations: 3.938 kB / 1.252 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/1.261, allocations: 3.984 kB / 1.252 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6085/1.869, allocations: 2.44 MB / 1.254 GB, free: 230.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.587e-06/1.869, allocations: 1.531 kB / 1.254 GB, free: 230.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006609/1.87, allocations: 137.5 kB / 1.254 GB, free: 230.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.878e-06/1.87, allocations: 4.25 kB / 1.254 GB, free: 230.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.807e-05/1.87, allocations: 22.17 kB / 1.254 GB, free: 230.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.446e-06/1.87, allocations: 4.438 kB / 1.254 GB, free: 230.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/1.87, allocations: 2.094 kB / 1.254 GB, free: 230.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001937/1.872, allocations: 1.068 MB / 1.255 GB, free: 230.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006468/1.873, allocations: 361.8 kB / 1.255 GB, free: 230 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002375/1.873, allocations: 19.56 kB / 1.255 GB, free: 230 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008167/1.874, allocations: 37.75 kB / 1.256 GB, free: 230 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/1.874, allocations: 47.41 kB / 1.256 GB, free: 230 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-05/1.874, allocations: 27.42 kB / 1.256 GB, free: 230 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002272/1.876, allocations: 1.261 MB / 1.257 GB, free: 229.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.31e-07/1.876, allocations: 0 / 1.257 GB, free: 229.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002444/1.879, allocations: 0.8882 MB / 1.258 GB, free: 229.5 MB / 0.9981 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.0007668/1.879, allocations: 345.6 kB / 1.258 GB, free: 229.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003625/1.883, allocations: 1.668 MB / 1.26 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.299e-06/1.883, allocations: 0 / 1.26 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007285/1.884, allocations: 410 kB / 1.26 GB, free: 228.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005296/1.889, allocations: 1.082 MB / 1.261 GB, free: 228.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007279/1.896, allocations: 3.042 MB / 1.264 GB, free: 226.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0018/1.898, allocations: 1.41 MB / 1.265 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003663/1.902, allocations: 411.2 kB / 1.266 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006292/1.903, allocations: 163.2 kB / 1.266 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of SimCode: time 1.052e-06/1.903, allocations: 0 / 1.266 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.06409/1.967, allocations: 38.34 MB / 1.303 GB, free: 199.6 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches