Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.008779/0.008779, allocations: 104.3 kB / 15.74 MB, free: 5.598 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.001485/0.001485, allocations: 191.8 kB / 16.67 MB, free: 5.527 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.539/2.539, allocations: 461.9 MB / 0.7348 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 67.91 kB / 1.054 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9509/0.9521, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1452/1.097, allocations: 154.4 MB / 1.358 GB, free: 2.73 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.04238/1.14, allocations: 30.4 MB / 1.388 GB, free: 4.25 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005759/1.146, allocations: 135.2 kB / 1.388 GB, free: 4.117 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.004487/1.15, allocations: 1.04 MB / 1.389 GB, free: 3.07 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01117/1.161, allocations: 3.162 MB / 1.392 GB, free: 15.9 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.007146/1.169, allocations: 2.511 MB / 1.395 GB, free: 13.42 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.008892/1.177, allocations: 5.396 MB / 1.4 GB, free: 8.004 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004448/1.182, allocations: 2.228 MB / 1.402 GB, free: 5.73 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00674/1.189, allocations: 2.751 MB / 1.405 GB, free: 2.969 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003839/1.193, allocations: 1.965 MB / 1.407 GB, free: 0.9961 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0005607/1.193, allocations: 216 kB / 1.407 GB, free: 0.7852 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002699/1.196, allocations: 1.084 MB / 1.408 GB, free: 15.7 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0005688/1.196, allocations: 0.5604 MB / 1.409 GB, free: 15.14 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001625/1.198, allocations: 1.271 MB / 1.41 GB, free: 13.86 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003933/1.202, allocations: 3.319 MB / 1.413 GB, free: 10.53 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/1.202, allocations: 4 kB / 1.413 GB, free: 10.53 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.704e-06/1.202, allocations: 0 / 1.413 GB, free: 10.53 MB / 1.139 GB Notification: Performance of Transformations before backend: time 3.415e-05/1.202, allocations: 0 / 1.413 GB, free: 10.53 MB / 1.139 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.004779/1.207, allocations: 2.795 MB / 1.416 GB, free: 7.668 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/1.207, allocations: 8.031 kB / 1.416 GB, free: 7.66 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004382/1.207, allocations: 260.9 kB / 1.416 GB, free: 7.402 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002474/1.21, allocations: 1.523 MB / 1.418 GB, free: 5.805 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.487e-05/1.21, allocations: 102.3 kB / 1.418 GB, free: 5.703 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001825/1.21, allocations: 140 kB / 1.418 GB, free: 5.566 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002004/1.212, allocations: 1.159 MB / 1.419 GB, free: 4.379 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.55e-05/1.212, allocations: 3.938 kB / 1.419 GB, free: 4.375 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.744e-05/1.212, allocations: 48 kB / 1.419 GB, free: 4.328 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.472e-05/1.212, allocations: 28 kB / 1.419 GB, free: 4.301 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001767/1.214, allocations: 1.013 MB / 1.42 GB, free: 3.281 MB / 1.139 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.009671/1.224, allocations: 6.32 MB / 1.426 GB, free: 12.49 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009072/1.225, allocations: 0.5735 MB / 1.427 GB, free: 11.91 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000554/1.225, allocations: 382.4 kB / 1.427 GB, free: 11.54 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004047/1.226, allocations: 0.507 MB / 1.428 GB, free: 10.92 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/1.226, allocations: 39.12 kB / 1.428 GB, free: 10.87 MB / 1.154 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00125/1.227, allocations: 230.8 kB / 1.428 GB, free: 10.64 MB / 1.154 GB Notification: Performance of pre-optimization done (n=58): time 3.587e-06/1.227, allocations: 0 / 1.428 GB, free: 10.64 MB / 1.154 GB Notification: Performance of matching and sorting (n=58): time 0.002058/1.229, allocations: 1.168 MB / 1.429 GB, free: 9.473 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/1.229, allocations: 63.91 kB / 1.429 GB, free: 9.398 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002199/1.231, allocations: 1.904 MB / 1.431 GB, free: 7.469 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 7.971e-05/1.231, allocations: 45.7 kB / 1.431 GB, free: 7.418 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007651/1.232, allocations: 0.9145 MB / 1.432 GB, free: 6.492 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001522/1.232, allocations: 209 kB / 1.432 GB, free: 6.285 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004068/1.233, allocations: 294.6 kB / 1.432 GB, free: 5.992 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001313/1.233, allocations: 349.9 kB / 1.433 GB, free: 5.645 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007367/1.234, allocations: 445.9 kB / 1.433 GB, free: 5.207 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000973/1.235, allocations: 0.6878 MB / 1.434 GB, free: 4.438 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001491/1.236, allocations: 0.9734 MB / 1.435 GB, free: 3.422 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/1.236, allocations: 4 kB / 1.435 GB, free: 3.418 MB / 1.154 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002388/1.239, allocations: 1.404 MB / 1.436 GB, free: 2.004 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/1.239, allocations: 8 kB / 1.436 GB, free: 1.996 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/1.239, allocations: 0 / 1.436 GB, free: 1.996 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.851e-05/1.239, allocations: 12 kB / 1.436 GB, free: 1.984 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/1.24, allocations: 283.9 kB / 1.436 GB, free: 1.707 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.092e-05/1.24, allocations: 15.88 kB / 1.437 GB, free: 1.691 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/1.241, allocations: 75.91 kB / 1.437 GB, free: 1.617 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/1.241, allocations: 59.95 kB / 1.437 GB, free: 1.559 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001351/1.243, allocations: 0.7095 MB / 1.437 GB, free: 0.8438 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009422/1.244, allocations: 0.6528 MB / 1.438 GB, free: 120 kB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001457/1.245, allocations: 0.9188 MB / 1.439 GB, free: 15.16 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.246e-06/1.245, allocations: 0 / 1.439 GB, free: 15.16 MB / 1.17 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002252/1.247, allocations: 1.354 MB / 1.44 GB, free: 13.79 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/1.248, allocations: 8 kB / 1.44 GB, free: 13.79 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/1.248, allocations: 4 kB / 1.44 GB, free: 13.78 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/1.248, allocations: 8 kB / 1.44 GB, free: 13.77 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/1.249, allocations: 275.5 kB / 1.44 GB, free: 13.5 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/1.249, allocations: 8 kB / 1.44 GB, free: 13.5 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/1.25, allocations: 91.88 kB / 1.441 GB, free: 13.41 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/1.25, allocations: 59.95 kB / 1.441 GB, free: 13.35 MB / 1.17 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.0003456/1.251, allocations: 239.9 kB / 1.441 GB, free: 13.11 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002757/1.251, allocations: 197.5 kB / 1.441 GB, free: 12.91 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002069/1.253, allocations: 1.095 MB / 1.442 GB, free: 11.8 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.928e-05/1.253, allocations: 11.98 kB / 1.442 GB, free: 11.79 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/1.253, allocations: 7.938 kB / 1.442 GB, free: 11.79 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/1.253, allocations: 11.98 kB / 1.442 GB, free: 11.77 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003853/1.257, allocations: 2.429 MB / 1.445 GB, free: 9.266 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/1.257, allocations: 192 / 1.445 GB, free: 9.266 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005707/1.258, allocations: 139.8 kB / 1.445 GB, free: 9.129 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.058e-05/1.258, allocations: 4 kB / 1.445 GB, free: 9.125 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.923e-05/1.258, allocations: 19.98 kB / 1.445 GB, free: 9.105 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/1.258, allocations: 7.938 kB / 1.445 GB, free: 9.098 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/1.258, allocations: 4 kB / 1.445 GB, free: 9.094 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001458/1.259, allocations: 1.074 MB / 1.446 GB, free: 7.98 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006033/1.26, allocations: 354.3 kB / 1.446 GB, free: 7.613 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001842/1.26, allocations: 19.98 kB / 1.446 GB, free: 7.594 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007422/1.261, allocations: 35.97 kB / 1.446 GB, free: 7.559 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/1.261, allocations: 48.58 kB / 1.446 GB, free: 7.512 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.728e-05/1.261, allocations: 28 kB / 1.446 GB, free: 7.484 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001573/1.262, allocations: 1.256 MB / 1.447 GB, free: 6.215 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.5e-07/1.262, allocations: 0 / 1.447 GB, free: 6.215 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002001/1.264, allocations: 0.8964 MB / 1.448 GB, free: 5.316 MB / 1.17 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.0006816/1.265, allocations: 346.2 kB / 1.449 GB, free: 4.98 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002693/1.268, allocations: 1.617 MB / 1.45 GB, free: 3.367 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/1.268, allocations: 1.5 kB / 1.45 GB, free: 3.367 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0006128/1.268, allocations: 415.8 kB / 1.451 GB, free: 2.961 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004465/1.273, allocations: 1.083 MB / 1.452 GB, free: 1.906 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004539/1.277, allocations: 2.994 MB / 1.455 GB, free: 14.86 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001047/1.279, allocations: 1.405 MB / 1.456 GB, free: 13.42 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001593/1.28, allocations: 403.7 kB / 1.456 GB, free: 13.03 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004171/1.281, allocations: 163.4 kB / 1.456 GB, free: 12.87 MB / 1.186 GB Notification: Performance of SimCode: time 6.31e-07/1.281, allocations: 0 / 1.456 GB, free: 12.87 MB / 1.186 GB Notification: Performance of Templates: time 0.06843/1.349, allocations: 39.28 MB / 1.495 GB, free: 6.168 MB / 1.217 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches