Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001594/0.001594, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.001574/0.001574, allocations: 205.7 kB / 23 MB, free: 4.934 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.54/1.54, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.405/3.405, allocations: 0.49 GB / 0.7959 GB, free: 35.4 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.003296/0.003296, allocations: 64.33 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4861/0.4894, allocations: 176.1 MB / 1.327 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1858/0.6752, allocations: 142.2 MB / 1.466 GB, free: 2.273 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.05667/0.7319, allocations: 28.11 MB / 1.493 GB, free: 6.094 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008976/0.7409, allocations: 202.2 kB / 1.494 GB, free: 5.895 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.004813/0.7457, allocations: 1.032 MB / 1.495 GB, free: 4.855 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.01403/0.7597, allocations: 3.302 MB / 1.498 GB, free: 1.543 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.008437/0.7681, allocations: 2.527 MB / 1.5 GB, free: 15.04 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.01164/0.7798, allocations: 5.349 MB / 1.506 GB, free: 9.672 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00417/0.784, allocations: 1.831 MB / 1.507 GB, free: 7.793 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009112/0.7931, allocations: 2.891 MB / 1.51 GB, free: 4.891 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005718/0.7988, allocations: 1.988 MB / 1.512 GB, free: 2.895 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0006102/0.7994, allocations: 219.9 kB / 1.512 GB, free: 2.68 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003396/0.8028, allocations: 0.983 MB / 1.513 GB, free: 1.695 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0007425/0.8035, allocations: 0.5719 MB / 1.514 GB, free: 1.121 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001897/0.8054, allocations: 1.026 MB / 1.515 GB, free: 92 kB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.005755/0.8112, allocations: 3.312 MB / 1.518 GB, free: 12.77 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.8112, allocations: 0 / 1.518 GB, free: 12.77 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.314e-06/0.8112, allocations: 7.875 kB / 1.518 GB, free: 12.76 MB / 1.217 GB Notification: Performance of Transformations before backend: time 6.258e-05/0.8113, allocations: 0 / 1.518 GB, free: 12.76 MB / 1.217 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.006691/0.818, allocations: 2.659 MB / 1.521 GB, free: 10.05 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 6.646e-05/0.818, allocations: 12.03 kB / 1.521 GB, free: 10.04 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006525/0.8187, allocations: 270.3 kB / 1.521 GB, free: 9.773 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003051/0.8217, allocations: 1.421 MB / 1.522 GB, free: 8.285 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/0.8218, allocations: 102.3 kB / 1.522 GB, free: 8.184 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002676/0.8221, allocations: 140 kB / 1.523 GB, free: 8.047 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002408/0.8245, allocations: 1.179 MB / 1.524 GB, free: 6.84 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.96e-05/0.8245, allocations: 3.938 kB / 1.524 GB, free: 6.836 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001201/0.8247, allocations: 48 kB / 1.524 GB, free: 6.789 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.282e-05/0.8247, allocations: 28 kB / 1.524 GB, free: 6.762 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001985/0.8267, allocations: 1.04 MB / 1.525 GB, free: 5.715 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009856/0.8365, allocations: 4.083 MB / 1.529 GB, free: 1.555 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.8376, allocations: 0.5366 MB / 1.529 GB, free: 1.012 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000589/0.8381, allocations: 354.2 kB / 1.53 GB, free: 0.6641 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002516/0.8384, allocations: 60.45 kB / 1.53 GB, free: 0.6016 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.899e-05/0.8385, allocations: 39.06 kB / 1.53 GB, free: 0.5547 MB / 1.217 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001868/0.8403, allocations: 299.4 kB / 1.53 GB, free: 268 kB / 1.217 GB Notification: Performance of pre-optimization done (n=58): time 4.037e-06/0.8403, allocations: 0 / 1.53 GB, free: 268 kB / 1.217 GB Notification: Performance of matching and sorting (n=58): time 0.002318/0.8426, allocations: 1.14 MB / 1.531 GB, free: 15.11 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.274e-05/0.8427, allocations: 55.91 kB / 1.531 GB, free: 15.04 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002379/0.8451, allocations: 1.639 MB / 1.533 GB, free: 13.36 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001035/0.8452, allocations: 45.7 kB / 1.533 GB, free: 13.31 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009485/0.8461, allocations: 0.9336 MB / 1.534 GB, free: 12.38 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002212/0.8464, allocations: 210.2 kB / 1.534 GB, free: 12.17 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004785/0.8468, allocations: 290.7 kB / 1.534 GB, free: 11.88 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002076/0.847, allocations: 353.9 kB / 1.535 GB, free: 11.53 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008737/0.8479, allocations: 457.8 kB / 1.535 GB, free: 11.07 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001437/0.8494, allocations: 1.132 MB / 1.536 GB, free: 9.754 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001682/0.851, allocations: 0.9693 MB / 1.537 GB, free: 8.746 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.851, allocations: 4 kB / 1.537 GB, free: 8.742 MB / 1.232 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.0027/0.8537, allocations: 1.394 MB / 1.538 GB, free: 7.34 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.8538, allocations: 4 kB / 1.538 GB, free: 7.336 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.8538, allocations: 4.375 kB / 1.538 GB, free: 7.332 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.038e-05/0.8538, allocations: 12 kB / 1.538 GB, free: 7.32 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00138/0.8552, allocations: 283.5 kB / 1.539 GB, free: 7.043 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.043e-05/0.8552, allocations: 8 kB / 1.539 GB, free: 7.035 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001548/0.8568, allocations: 75.92 kB / 1.539 GB, free: 6.961 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001359/0.8569, allocations: 63.89 kB / 1.539 GB, free: 6.898 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001466/0.8584, allocations: 0.7083 MB / 1.54 GB, free: 6.188 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001399/0.8598, allocations: 1.112 MB / 1.541 GB, free: 4.883 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00159/0.8613, allocations: 0.9224 MB / 1.541 GB, free: 3.918 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.641e-06/0.8614, allocations: 4 kB / 1.542 GB, free: 3.914 MB / 1.232 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002571/0.8639, allocations: 1.335 MB / 1.543 GB, free: 2.57 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.8639, allocations: 8 kB / 1.543 GB, free: 2.562 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.864, allocations: 4 kB / 1.543 GB, free: 2.559 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.864, allocations: 8 kB / 1.543 GB, free: 2.551 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/0.8652, allocations: 275.9 kB / 1.543 GB, free: 2.281 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/0.8652, allocations: 12 kB / 1.543 GB, free: 2.27 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001525/0.8668, allocations: 83.91 kB / 1.543 GB, free: 2.188 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/0.8669, allocations: 55.95 kB / 1.543 GB, free: 2.133 MB / 1.232 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.0003999/0.8673, allocations: 251.9 kB / 1.543 GB, free: 1.879 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003197/0.8676, allocations: 182.9 kB / 1.544 GB, free: 1.699 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002344/0.8699, allocations: 1.082 MB / 1.545 GB, free: 0.6172 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.87, allocations: 7.984 kB / 1.545 GB, free: 0.6094 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.87, allocations: 0 / 1.545 GB, free: 0.6094 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006901/0.8707, allocations: 258.5 kB / 1.545 GB, free: 364 kB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001897/0.8708, allocations: 15.94 kB / 1.545 GB, free: 348 kB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006617/0.8715, allocations: 31.95 kB / 1.545 GB, free: 316 kB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.8716, allocations: 52.56 kB / 1.545 GB, free: 260 kB / 1.232 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00166/0.8733, allocations: 0.8837 MB / 1.546 GB, free: 15.36 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001648/0.875, allocations: 1.103 MB / 1.547 GB, free: 14.24 MB / 1.248 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005761/0.8755, allocations: 341 kB / 1.547 GB, free: 13.91 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001677/0.8772, allocations: 1.068 MB / 1.548 GB, free: 12.82 MB / 1.248 GB Notification: Performance of Backend: time 5.81e-07/0.8772, allocations: 0 / 1.548 GB, free: 12.82 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.004049/0.8813, allocations: 1.537 MB / 1.55 GB, free: 11.28 MB / 1.248 GB Notification: Performance of SimCode: time 0.008127/0.8894, allocations: 3.887 MB / 1.554 GB, free: 7.355 MB / 1.248 GB Notification: Performance of Templates: time 0.07789/0.9673, allocations: 42.54 MB / 1.595 GB, free: 13.56 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_12_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_12_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./Buildings_12_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 13.228761883001425]