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.001535/0.001535, allocations: 104.4 kB / 16.41 MB, free: 6.512 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.001656/0.001656, allocations: 187 kB / 17.34 MB, free: 5.742 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.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.689/2.689, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 59.91 kB / 1.055 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8556/0.857, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1515/1.009, allocations: 154.4 MB / 1.359 GB, free: 2.699 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.04305/1.052, allocations: 30.4 MB / 1.389 GB, free: 4.227 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008351/1.06, allocations: 143.1 kB / 1.389 GB, free: 4.086 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.003418/1.064, allocations: 1.036 MB / 1.39 GB, free: 3.043 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.00977/1.073, allocations: 3.163 MB / 1.393 GB, free: 15.87 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.00654/1.08, allocations: 2.508 MB / 1.396 GB, free: 13.39 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.008379/1.088, allocations: 5.4 MB / 1.401 GB, free: 7.973 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00357/1.092, allocations: 2.234 MB / 1.403 GB, free: 5.691 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006508/1.098, allocations: 2.743 MB / 1.406 GB, free: 2.938 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003785/1.102, allocations: 1.957 MB / 1.408 GB, free: 0.9727 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.000594/1.103, allocations: 212 kB / 1.408 GB, free: 0.7656 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002901/1.106, allocations: 1.104 MB / 1.409 GB, free: 15.66 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0005863/1.106, allocations: 0.5486 MB / 1.409 GB, free: 15.11 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001923/1.108, allocations: 1.275 MB / 1.411 GB, free: 13.83 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.00459/1.113, allocations: 3.317 MB / 1.414 GB, free: 10.5 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/1.113, allocations: 0 / 1.414 GB, free: 10.5 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.625e-06/1.113, allocations: 4 kB / 1.414 GB, free: 10.5 MB / 1.139 GB Notification: Performance of Transformations before backend: time 4.776e-05/1.113, allocations: 0 / 1.414 GB, free: 10.5 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.005131/1.118, allocations: 2.795 MB / 1.417 GB, free: 7.641 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/1.118, allocations: 11.97 kB / 1.417 GB, free: 7.629 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004675/1.119, allocations: 260.9 kB / 1.417 GB, free: 7.371 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002469/1.121, allocations: 1.523 MB / 1.418 GB, free: 5.773 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.887e-05/1.121, allocations: 102.3 kB / 1.418 GB, free: 5.672 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001916/1.121, allocations: 136 kB / 1.419 GB, free: 5.539 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002167/1.124, allocations: 1.163 MB / 1.42 GB, free: 4.348 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.468e-05/1.124, allocations: 7.938 kB / 1.42 GB, free: 4.34 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/1.124, allocations: 44 kB / 1.42 GB, free: 4.297 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.508e-05/1.124, allocations: 32 kB / 1.42 GB, free: 4.266 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001774/1.126, allocations: 1.009 MB / 1.421 GB, free: 3.25 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.009814/1.135, allocations: 6.324 MB / 1.427 GB, free: 12.46 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009667/1.136, allocations: 0.5647 MB / 1.428 GB, free: 11.89 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005769/1.137, allocations: 384.4 kB / 1.428 GB, free: 11.51 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006107/1.138, allocations: 0.5031 MB / 1.428 GB, free: 10.9 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.559e-05/1.138, allocations: 43.06 kB / 1.428 GB, free: 10.84 MB / 1.154 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001577/1.139, allocations: 234.8 kB / 1.429 GB, free: 10.61 MB / 1.154 GB Notification: Performance of pre-optimization done (n=58): time 4.047e-06/1.139, allocations: 0 / 1.429 GB, free: 10.61 MB / 1.154 GB Notification: Performance of matching and sorting (n=58): time 0.002145/1.141, allocations: 1.164 MB / 1.43 GB, free: 9.445 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/1.141, allocations: 59.97 kB / 1.43 GB, free: 9.375 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002401/1.144, allocations: 1.9 MB / 1.432 GB, free: 7.449 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001/1.144, allocations: 45.7 kB / 1.432 GB, free: 7.398 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007435/1.145, allocations: 0.9185 MB / 1.433 GB, free: 6.469 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001715/1.145, allocations: 213 kB / 1.433 GB, free: 6.258 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004066/1.145, allocations: 294.6 kB / 1.433 GB, free: 5.965 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001404/1.145, allocations: 349.9 kB / 1.433 GB, free: 5.617 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007864/1.146, allocations: 449.9 kB / 1.434 GB, free: 5.176 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/1.147, allocations: 0.6878 MB / 1.435 GB, free: 4.406 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001558/1.149, allocations: 0.9774 MB / 1.436 GB, free: 3.387 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/1.149, allocations: 4 kB / 1.436 GB, free: 3.383 MB / 1.154 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002507/1.151, allocations: 1.404 MB / 1.437 GB, free: 1.969 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/1.151, allocations: 4 kB / 1.437 GB, free: 1.965 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/1.151, allocations: 4.375 kB / 1.437 GB, free: 1.961 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.367e-05/1.151, allocations: 12 kB / 1.437 GB, free: 1.949 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/1.153, allocations: 279.5 kB / 1.437 GB, free: 1.676 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.936e-05/1.153, allocations: 11.94 kB / 1.437 GB, free: 1.664 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/1.154, allocations: 71.92 kB / 1.437 GB, free: 1.594 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/1.154, allocations: 67.95 kB / 1.437 GB, free: 1.527 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001305/1.156, allocations: 0.7095 MB / 1.438 GB, free: 0.8125 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009408/1.157, allocations: 0.6528 MB / 1.439 GB, free: 88 kB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001473/1.158, allocations: 0.9266 MB / 1.44 GB, free: 15.12 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.246e-06/1.158, allocations: 0 / 1.44 GB, free: 15.12 MB / 1.17 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002339/1.16, allocations: 1.346 MB / 1.441 GB, free: 13.76 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/1.16, allocations: 9.719 kB / 1.441 GB, free: 13.75 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/1.16, allocations: 4 kB / 1.441 GB, free: 13.75 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/1.161, allocations: 8 kB / 1.441 GB, free: 13.74 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/1.162, allocations: 267.6 kB / 1.441 GB, free: 13.48 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.419e-05/1.162, allocations: 11.94 kB / 1.441 GB, free: 13.47 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001534/1.163, allocations: 104.1 kB / 1.441 GB, free: 13.37 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.985e-05/1.163, allocations: 55.95 kB / 1.441 GB, free: 13.31 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.0003209/1.164, allocations: 244.8 kB / 1.442 GB, free: 13.07 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003051/1.164, allocations: 201.5 kB / 1.442 GB, free: 12.87 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002151/1.166, allocations: 1.085 MB / 1.443 GB, free: 11.77 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.84e-05/1.166, allocations: 12 kB / 1.443 GB, free: 11.76 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/1.166, allocations: 3.938 kB / 1.443 GB, free: 11.75 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/1.166, allocations: 3.984 kB / 1.443 GB, free: 11.75 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003572/1.17, allocations: 2.441 MB / 1.445 GB, free: 9.23 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/1.17, allocations: 0 / 1.445 GB, free: 9.23 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006252/1.17, allocations: 135.8 kB / 1.445 GB, free: 9.098 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.947e-06/1.17, allocations: 4 kB / 1.445 GB, free: 9.094 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.564e-05/1.171, allocations: 16 kB / 1.445 GB, free: 9.078 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.852e-06/1.171, allocations: 4 kB / 1.445 GB, free: 9.074 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/1.171, allocations: 11.92 kB / 1.445 GB, free: 9.062 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00165/1.172, allocations: 1.07 MB / 1.446 GB, free: 7.953 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006101/1.173, allocations: 358.3 kB / 1.447 GB, free: 7.582 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002341/1.173, allocations: 23.94 kB / 1.447 GB, free: 7.559 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008456/1.174, allocations: 35.95 kB / 1.447 GB, free: 7.523 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/1.174, allocations: 52.53 kB / 1.447 GB, free: 7.473 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-05/1.174, allocations: 27.98 kB / 1.447 GB, free: 7.445 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001711/1.176, allocations: 1.248 MB / 1.448 GB, free: 6.184 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.7e-07/1.176, allocations: 8 kB / 1.448 GB, free: 6.176 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002106/1.178, allocations: 0.9003 MB / 1.449 GB, free: 5.273 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.000718/1.179, allocations: 336.4 kB / 1.449 GB, free: 4.949 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002827/1.182, allocations: 1.622 MB / 1.451 GB, free: 3.332 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/1.182, allocations: 384 / 1.451 GB, free: 3.332 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0006526/1.182, allocations: 415.5 kB / 1.451 GB, free: 2.926 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00479/1.187, allocations: 1.073 MB / 1.452 GB, free: 1.875 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004989/1.192, allocations: 3.042 MB / 1.455 GB, free: 14.77 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001034/1.193, allocations: 1.405 MB / 1.457 GB, free: 13.34 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006995/1.194, allocations: 167.4 kB / 1.457 GB, free: 13.17 MB / 1.186 GB Notification: Performance of SimCode: time 1.543e-06/1.194, allocations: 0 / 1.457 GB, free: 13.17 MB / 1.186 GB Notification: Performance of Templates: time 0.04752/1.241, allocations: 31.02 MB / 1.487 GB, free: 14.49 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/jenkins1/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