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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 217.1 kB / 22.99 MB, free: 4.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.51/1.51, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.41/3.41, allocations: 0.5107 GB / 0.8166 GB, free: 17.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFloOpPoi.m_flow|senMasFloKv.m_flow|senMasFloCv.m_flow|senMasFloAv.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFloOpPoi.m_flow|senMasFloKv.m_flow|senMasFloCv.m_flow|senMasFloAv.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002326/0.002326, allocations: 71.22 kB / 1.187 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3695, allocations: 181.9 MB / 1.365 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1776/0.5471, allocations: 142.2 MB / 1.503 GB, free: 14.87 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.04659/0.5937, allocations: 28.11 MB / 1.531 GB, free: 2.691 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005736/0.5994, allocations: 194.2 kB / 1.531 GB, free: 2.5 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.003488/0.6029, allocations: 1.028 MB / 1.532 GB, free: 1.465 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.01035/0.6133, allocations: 3.303 MB / 1.535 GB, free: 14.15 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.007159/0.6204, allocations: 2.515 MB / 1.538 GB, free: 11.66 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.008885/0.6293, allocations: 5.329 MB / 1.543 GB, free: 6.316 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004084/0.6334, allocations: 1.808 MB / 1.545 GB, free: 4.465 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007372/0.6408, allocations: 2.891 MB / 1.548 GB, free: 1.562 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004239/0.645, allocations: 1.883 MB / 1.549 GB, free: 15.67 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.001008/0.646, allocations: 212 kB / 1.55 GB, free: 15.46 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003338/0.6493, allocations: 0.9556 MB / 1.551 GB, free: 14.51 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.001192/0.6505, allocations: 0.5719 MB / 1.551 GB, free: 13.93 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.002765/0.6533, allocations: 1.015 MB / 1.552 GB, free: 12.91 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.006446/0.6597, allocations: 3.327 MB / 1.555 GB, free: 9.574 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.6598, allocations: 0 / 1.555 GB, free: 9.574 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6598, allocations: 0 / 1.555 GB, free: 9.574 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.0001286/0.6599, allocations: 0 / 1.555 GB, free: 9.574 MB / 1.248 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.006559/0.6664, allocations: 2.657 MB / 1.558 GB, free: 6.871 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.6665, allocations: 12.03 kB / 1.558 GB, free: 6.859 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005944/0.6671, allocations: 266.4 kB / 1.558 GB, free: 6.598 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003068/0.6702, allocations: 1.425 MB / 1.56 GB, free: 5.105 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.766e-05/0.6702, allocations: 102.3 kB / 1.56 GB, free: 5.004 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002266/0.6705, allocations: 140 kB / 1.56 GB, free: 4.867 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002319/0.6728, allocations: 1.183 MB / 1.561 GB, free: 3.656 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.107e-05/0.6728, allocations: 3.938 kB / 1.561 GB, free: 3.652 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/0.6729, allocations: 52 kB / 1.561 GB, free: 3.602 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.934e-05/0.673, allocations: 28 kB / 1.561 GB, free: 3.574 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002059/0.675, allocations: 1.044 MB / 1.562 GB, free: 2.523 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009934/0.685, allocations: 4.079 MB / 1.566 GB, free: 14.36 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/0.686, allocations: 0.5282 MB / 1.567 GB, free: 13.82 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006336/0.6867, allocations: 366 kB / 1.567 GB, free: 13.46 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002333/0.6869, allocations: 60.39 kB / 1.567 GB, free: 13.41 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.984e-05/0.6869, allocations: 39.06 kB / 1.567 GB, free: 13.36 MB / 1.264 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001756/0.6887, allocations: 291.5 kB / 1.567 GB, free: 13.07 MB / 1.264 GB Notification: Performance of pre-optimization done (n=58): time 4.678e-06/0.6887, allocations: 0 / 1.567 GB, free: 13.07 MB / 1.264 GB Notification: Performance of matching and sorting (n=58): time 0.002524/0.6912, allocations: 1.152 MB / 1.568 GB, free: 11.91 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.001e-05/0.6913, allocations: 55.91 kB / 1.568 GB, free: 11.85 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002379/0.6936, allocations: 1.635 MB / 1.57 GB, free: 10.17 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0001371/0.6938, allocations: 41.7 kB / 1.57 GB, free: 10.12 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008908/0.6947, allocations: 0.9298 MB / 1.571 GB, free: 9.188 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002181/0.6949, allocations: 218.1 kB / 1.571 GB, free: 8.973 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000452/0.6953, allocations: 290.7 kB / 1.572 GB, free: 8.684 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001848/0.6955, allocations: 349.9 kB / 1.572 GB, free: 8.336 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008822/0.6964, allocations: 453.9 kB / 1.572 GB, free: 7.887 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001381/0.6978, allocations: 1.14 MB / 1.573 GB, free: 6.559 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001755/0.6995, allocations: 0.9693 MB / 1.574 GB, free: 5.555 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.6995, allocations: 4 kB / 1.574 GB, free: 5.551 MB / 1.264 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002801/0.7023, allocations: 1.398 MB / 1.576 GB, free: 4.145 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.7024, allocations: 4 kB / 1.576 GB, free: 4.141 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.7024, allocations: 7.984 kB / 1.576 GB, free: 4.133 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.767e-05/0.7024, allocations: 8 kB / 1.576 GB, free: 4.125 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/0.7037, allocations: 279.6 kB / 1.576 GB, free: 3.852 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.783e-05/0.7037, allocations: 11.94 kB / 1.576 GB, free: 3.84 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/0.7051, allocations: 79.92 kB / 1.576 GB, free: 3.762 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001291/0.7053, allocations: 59.95 kB / 1.576 GB, free: 3.703 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001435/0.7067, allocations: 0.7056 MB / 1.577 GB, free: 2.992 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001365/0.7081, allocations: 1.117 MB / 1.578 GB, free: 1.684 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001611/0.7097, allocations: 0.9146 MB / 1.579 GB, free: 0.7227 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.742e-06/0.7097, allocations: 8 kB / 1.579 GB, free: 0.7148 MB / 1.264 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002632/0.7123, allocations: 1.328 MB / 1.58 GB, free: 15.38 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.7123, allocations: 8 kB / 1.58 GB, free: 15.37 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.7124, allocations: 4.375 kB / 1.58 GB, free: 15.36 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.7124, allocations: 12 kB / 1.58 GB, free: 15.35 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/0.7136, allocations: 271.6 kB / 1.58 GB, free: 15.09 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-05/0.7136, allocations: 15.92 kB / 1.58 GB, free: 15.07 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/0.7151, allocations: 87.86 kB / 1.581 GB, free: 14.98 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/0.7152, allocations: 63.94 kB / 1.581 GB, free: 14.92 MB / 1.279 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.0003545/0.7156, allocations: 235.8 kB / 1.581 GB, free: 14.69 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003644/0.7159, allocations: 182.7 kB / 1.581 GB, free: 14.51 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002275/0.7182, allocations: 1.077 MB / 1.582 GB, free: 13.43 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.602e-05/0.7182, allocations: 8 kB / 1.582 GB, free: 13.42 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.7182, allocations: 0 / 1.582 GB, free: 13.42 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.7182, allocations: 7.922 kB / 1.582 GB, free: 13.41 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004069/0.7223, allocations: 2.115 MB / 1.584 GB, free: 11.23 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.7223, allocations: 0 / 1.584 GB, free: 11.23 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000644/0.723, allocations: 139.7 kB / 1.584 GB, free: 11.1 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.949e-06/0.723, allocations: 4 kB / 1.584 GB, free: 11.09 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.896e-05/0.723, allocations: 20 kB / 1.584 GB, free: 11.07 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-05/0.723, allocations: 7.984 kB / 1.584 GB, free: 11.07 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.723, allocations: 4 kB / 1.584 GB, free: 11.06 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001872/0.7249, allocations: 1.046 MB / 1.585 GB, free: 9.977 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006785/0.7256, allocations: 266.5 kB / 1.586 GB, free: 9.715 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001888/0.7258, allocations: 19.97 kB / 1.586 GB, free: 9.695 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000729/0.7265, allocations: 35.97 kB / 1.586 GB, free: 9.66 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.7266, allocations: 52.5 kB / 1.586 GB, free: 9.609 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.875e-05/0.7267, allocations: 35.92 kB / 1.586 GB, free: 9.574 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001639/0.7283, allocations: 1.061 MB / 1.587 GB, free: 8.492 MB / 1.279 GB Notification: Performance of sort global known variables: time 7e-08/0.7283, allocations: 0 / 1.587 GB, free: 8.492 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.002294/0.7306, allocations: 0.9354 MB / 1.588 GB, free: 7.555 MB / 1.279 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.0006234/0.7312, allocations: 329.1 kB / 1.588 GB, free: 7.23 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.002961/0.7342, allocations: 1.5 MB / 1.589 GB, free: 5.734 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.7342, allocations: 0 / 1.589 GB, free: 5.734 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0006791/0.7349, allocations: 373 kB / 1.59 GB, free: 5.371 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003839/0.7387, allocations: 0.8821 MB / 1.591 GB, free: 4.516 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004974/0.7437, allocations: 3.019 MB / 1.594 GB, free: 1.438 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008836/0.7446, allocations: 0.8176 MB / 1.594 GB, free: 0.5859 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005739/0.7451, allocations: 155.4 kB / 1.595 GB, free: 444 kB / 1.279 GB Notification: Performance of SimCode: time 9.22e-07/0.7451, allocations: 0 / 1.595 GB, free: 444 kB / 1.279 GB Notification: Performance of Templates: time 0.7274/1.473, allocations: 29.43 MB / 1.623 GB, free: 236.5 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.616314246319234]