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.001298/0.001298, allocations: 104 kB / 16.4 MB, free: 6.484 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.001235/0.001235, allocations: 184 kB / 17.34 MB, free: 5.734 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.596/1.596, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.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.702/2.702, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 59.91 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.013/1.015, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.2067/1.222, allocations: 154.4 MB / 1.318 GB, free: 8.902 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.05603/1.278, allocations: 30.4 MB / 1.348 GB, free: 10.44 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008245/1.287, allocations: 143.1 kB / 1.348 GB, free: 10.3 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004488/1.291, allocations: 1.075 MB / 1.349 GB, free: 9.215 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01371/1.305, allocations: 3.319 MB / 1.352 GB, free: 5.883 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.008523/1.313, allocations: 2.517 MB / 1.355 GB, free: 3.398 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01154/1.325, allocations: 5.408 MB / 1.36 GB, free: 13.97 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00554/1.331, allocations: 2.252 MB / 1.362 GB, free: 11.67 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007858/1.338, allocations: 2.751 MB / 1.365 GB, free: 8.91 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005291/1.344, allocations: 1.961 MB / 1.367 GB, free: 6.941 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001472/1.345, allocations: 216 kB / 1.367 GB, free: 6.73 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004943/1.35, allocations: 1.096 MB / 1.368 GB, free: 5.633 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001544/1.352, allocations: 0.5526 MB / 1.369 GB, free: 5.078 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.004011/1.356, allocations: 1.271 MB / 1.37 GB, free: 3.801 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.008137/1.364, allocations: 3.332 MB / 1.373 GB, free: 468 kB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/1.364, allocations: 0 / 1.373 GB, free: 468 kB / 1.092 GB Notification: Performance of FrontEnd: time 2.675e-06/1.364, allocations: 4 kB / 1.373 GB, free: 464 kB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001524/1.364, allocations: 0 / 1.373 GB, free: 464 kB / 1.092 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.007808/1.372, allocations: 2.867 MB / 1.376 GB, free: 13.52 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.735e-05/1.372, allocations: 16.58 kB / 1.376 GB, free: 13.5 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006711/1.373, allocations: 270.3 kB / 1.376 GB, free: 13.23 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003008/1.376, allocations: 1.545 MB / 1.378 GB, free: 11.62 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/1.376, allocations: 102.3 kB / 1.378 GB, free: 11.52 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002305/1.376, allocations: 144 kB / 1.378 GB, free: 11.38 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002482/1.379, allocations: 1.159 MB / 1.379 GB, free: 10.19 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.69e-05/1.379, allocations: 7.875 kB / 1.379 GB, free: 10.18 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001413/1.379, allocations: 48 kB / 1.379 GB, free: 10.13 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.4e-05/1.379, allocations: 31.98 kB / 1.379 GB, free: 10.1 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00199/1.381, allocations: 1.009 MB / 1.38 GB, free: 9.086 MB / 1.107 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.01255/1.393, allocations: 6.329 MB / 1.386 GB, free: 2.293 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0012/1.395, allocations: 0.5673 MB / 1.387 GB, free: 1.719 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006818/1.395, allocations: 386.4 kB / 1.387 GB, free: 1.336 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006276/1.396, allocations: 0.5031 MB / 1.388 GB, free: 0.7227 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.022e-05/1.396, allocations: 43.11 kB / 1.388 GB, free: 0.6719 MB / 1.107 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001606/1.398, allocations: 231.3 kB / 1.388 GB, free: 456 kB / 1.107 GB Notification: Performance of pre-optimization done (n=58): time 6.643e-06/1.398, allocations: 3.938 kB / 1.388 GB, free: 452 kB / 1.107 GB Notification: Performance of matching and sorting (n=58): time 0.0029/1.401, allocations: 1.173 MB / 1.389 GB, free: 15.27 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/1.401, allocations: 59.97 kB / 1.389 GB, free: 15.2 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003799/1.405, allocations: 1.904 MB / 1.391 GB, free: 13.27 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.000254/1.405, allocations: 49.7 kB / 1.391 GB, free: 13.21 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001309/1.406, allocations: 0.9275 MB / 1.392 GB, free: 12.27 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.000279/1.406, allocations: 218.1 kB / 1.392 GB, free: 12.06 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000663/1.407, allocations: 294.7 kB / 1.392 GB, free: 11.77 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001989/1.407, allocations: 345.9 kB / 1.393 GB, free: 11.42 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009583/1.408, allocations: 461.8 kB / 1.393 GB, free: 10.97 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001222/1.409, allocations: 0.6839 MB / 1.394 GB, free: 10.2 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001907/1.411, allocations: 0.9735 MB / 1.395 GB, free: 9.188 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/1.411, allocations: 0 / 1.395 GB, free: 9.188 MB / 1.123 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003522/1.415, allocations: 1.421 MB / 1.396 GB, free: 7.758 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.013e-05/1.415, allocations: 8 kB / 1.396 GB, free: 7.75 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/1.415, allocations: 4 kB / 1.396 GB, free: 7.746 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.431e-05/1.415, allocations: 8 kB / 1.396 GB, free: 7.738 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001484/1.417, allocations: 275.5 kB / 1.397 GB, free: 7.469 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.401e-05/1.417, allocations: 19.92 kB / 1.397 GB, free: 7.449 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00192/1.419, allocations: 72.12 kB / 1.397 GB, free: 7.379 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001662/1.419, allocations: 63.94 kB / 1.397 GB, free: 7.316 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001586/1.42, allocations: 0.7056 MB / 1.397 GB, free: 6.605 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001123/1.421, allocations: 0.6672 MB / 1.398 GB, free: 5.867 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001752/1.423, allocations: 0.9149 MB / 1.399 GB, free: 4.91 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.05e-06/1.423, allocations: 8 kB / 1.399 GB, free: 4.902 MB / 1.123 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002886/1.426, allocations: 1.358 MB / 1.4 GB, free: 3.535 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/1.426, allocations: 4 kB / 1.4 GB, free: 3.531 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/1.426, allocations: 4.375 kB / 1.4 GB, free: 3.527 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/1.426, allocations: 12 kB / 1.4 GB, free: 3.516 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/1.427, allocations: 267.6 kB / 1.401 GB, free: 3.254 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.84e-05/1.427, allocations: 15.92 kB / 1.401 GB, free: 3.238 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001717/1.429, allocations: 95.84 kB / 1.401 GB, free: 3.145 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001357/1.429, allocations: 55.95 kB / 1.401 GB, free: 3.09 MB / 1.123 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.000358/1.43, allocations: 236 kB / 1.401 GB, free: 2.852 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005425/1.43, allocations: 210.6 kB / 1.401 GB, free: 2.645 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002641/1.433, allocations: 1.098 MB / 1.402 GB, free: 1.543 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.177e-05/1.433, allocations: 11.98 kB / 1.402 GB, free: 1.531 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/1.433, allocations: 3.938 kB / 1.402 GB, free: 1.527 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/1.433, allocations: 3.984 kB / 1.402 GB, free: 1.523 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005025/1.438, allocations: 2.437 MB / 1.405 GB, free: 15 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-05/1.438, allocations: 7.984 kB / 1.405 GB, free: 15 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007562/1.439, allocations: 131.8 kB / 1.405 GB, free: 14.87 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-05/1.439, allocations: 4 kB / 1.405 GB, free: 14.86 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.193e-05/1.439, allocations: 28.17 kB / 1.405 GB, free: 14.84 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.676e-06/1.439, allocations: 4 kB / 1.405 GB, free: 14.83 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.271e-06/1.439, allocations: 3.938 kB / 1.405 GB, free: 14.83 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00234/1.441, allocations: 1.083 MB / 1.406 GB, free: 13.71 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009638/1.442, allocations: 367.5 kB / 1.406 GB, free: 13.33 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004586/1.443, allocations: 12 kB / 1.406 GB, free: 13.32 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/1.444, allocations: 39.95 kB / 1.406 GB, free: 13.28 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/1.444, allocations: 52.53 kB / 1.406 GB, free: 13.23 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.243e-05/1.444, allocations: 31.92 kB / 1.406 GB, free: 13.2 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.002602/1.447, allocations: 1.252 MB / 1.407 GB, free: 11.93 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.5e-07/1.447, allocations: 0 / 1.407 GB, free: 11.93 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.003162/1.45, allocations: 0.9007 MB / 1.408 GB, free: 11.03 MB / 1.139 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.0009641/1.451, allocations: 348.7 kB / 1.409 GB, free: 10.7 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.00365/1.454, allocations: 1.622 MB / 1.41 GB, free: 9.078 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/1.454, allocations: 0 / 1.41 GB, free: 9.078 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0007625/1.455, allocations: 407.5 kB / 1.411 GB, free: 8.68 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005653/1.461, allocations: 1.084 MB / 1.412 GB, free: 7.625 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00649/1.467, allocations: 3.063 MB / 1.415 GB, free: 4.512 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001485/1.469, allocations: 1.401 MB / 1.416 GB, free: 3.07 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.002155/1.471, allocations: 407.7 kB / 1.416 GB, free: 2.668 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006965/1.472, allocations: 167.4 kB / 1.417 GB, free: 2.504 MB / 1.139 GB Notification: Performance of SimCode: time 1.593e-06/1.472, allocations: 0 / 1.417 GB, free: 2.504 MB / 1.139 GB Notification: Performance of Templates: time 0.07849/1.55, allocations: 38.67 MB / 1.454 GB, free: 12.35 MB / 1.186 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=480 -s cvode -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/jenkins1/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