Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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.00153/0.00153, 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.001803/0.001803, allocations: 209.9 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.659/1.659, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.653/3.653, allocations: 0.49 GB / 0.7959 GB, free: 35.43 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.TwoWayValveParameterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|valOpePoi.m_flow|valKv.m_flow|valCv.m_flow|valAv.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|valOpePoi.m_flow|valKv.m_flow|valCv.m_flow|valAv.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") [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.002096/0.002096, allocations: 69.31 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.529/0.5311, allocations: 176.1 MB / 1.327 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.03706/0.5682, allocations: 28.46 MB / 1.355 GB, free: 4.383 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0174/0.5856, allocations: 9.98 MB / 1.365 GB, free: 10.37 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001993/0.5875, allocations: 39.62 kB / 1.365 GB, free: 10.33 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001605/0.5892, allocations: 389.3 kB / 1.365 GB, free: 9.949 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.004913/0.5941, allocations: 1.191 MB / 1.366 GB, free: 8.754 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003101/0.5972, allocations: 0.8761 MB / 1.367 GB, free: 7.887 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.003779/0.6009, allocations: 2.05 MB / 1.369 GB, free: 5.832 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001178/0.6021, allocations: 0.5574 MB / 1.37 GB, free: 5.258 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002876/0.605, allocations: 1.066 MB / 1.371 GB, free: 4.188 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001213/0.6062, allocations: 0.6691 MB / 1.371 GB, free: 3.516 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001085/0.6063, allocations: 52 kB / 1.371 GB, free: 3.465 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001553/0.6079, allocations: 0.5225 MB / 1.372 GB, free: 2.941 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002673/0.6081, allocations: 171.2 kB / 1.372 GB, free: 2.773 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0004882/0.6086, allocations: 354.2 kB / 1.372 GB, free: 2.426 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001711/0.6103, allocations: 1.074 MB / 1.373 GB, free: 1.348 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.6103, allocations: 0 / 1.373 GB, free: 1.348 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.084e-06/0.6103, allocations: 0 / 1.373 GB, free: 1.348 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.189e-05/0.6104, allocations: 0 / 1.373 GB, free: 1.348 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.00219/0.6126, allocations: 1.107 MB / 1.374 GB, free: 212 kB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.6126, allocations: 8.031 kB / 1.374 GB, free: 204 kB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003062/0.6129, allocations: 100.3 kB / 1.375 GB, free: 104 kB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/0.6141, allocations: 0.5059 MB / 1.375 GB, free: 15.57 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.549e-05/0.6142, allocations: 45 kB / 1.375 GB, free: 15.52 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.6143, allocations: 56 kB / 1.375 GB, free: 15.47 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008483/0.6151, allocations: 410.4 kB / 1.376 GB, free: 15.06 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.6152, allocations: 0 / 1.376 GB, free: 15.06 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.969e-05/0.6152, allocations: 20 kB / 1.376 GB, free: 15.04 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.6152, allocations: 8 kB / 1.376 GB, free: 15.04 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000654/0.6159, allocations: 303.8 kB / 1.376 GB, free: 14.74 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003172/0.619, allocations: 1.195 MB / 1.377 GB, free: 13.51 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004121/0.6195, allocations: 158.4 kB / 1.377 GB, free: 13.35 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001876/0.6196, allocations: 76.81 kB / 1.377 GB, free: 13.27 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001853/0.6198, allocations: 31.97 kB / 1.377 GB, free: 13.24 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.6199, allocations: 38.5 kB / 1.377 GB, free: 13.19 MB / 1.076 GB Notification: Performance of pre-optimization done (n=19): time 1.763e-06/0.6199, allocations: 4 kB / 1.377 GB, free: 13.19 MB / 1.076 GB Notification: Performance of matching and sorting (n=19): time 0.0008124/0.6207, allocations: 294.9 kB / 1.378 GB, free: 12.89 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.6207, allocations: 51.52 kB / 1.378 GB, free: 12.83 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008967/0.6216, allocations: 0.5939 MB / 1.378 GB, free: 12.23 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.933e-05/0.6217, allocations: 29.7 kB / 1.378 GB, free: 12.19 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003477/0.622, allocations: 368.9 kB / 1.379 GB, free: 11.82 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.6221, allocations: 67.42 kB / 1.379 GB, free: 11.76 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001634/0.6223, allocations: 97.56 kB / 1.379 GB, free: 11.66 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002368/0.6225, allocations: 366.8 kB / 1.379 GB, free: 11.29 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000279/0.6228, allocations: 116.5 kB / 1.379 GB, free: 11.17 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005207/0.6233, allocations: 391.6 kB / 1.38 GB, free: 10.71 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000544/0.6239, allocations: 237 kB / 1.38 GB, free: 10.48 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.6239, allocations: 0 / 1.38 GB, free: 10.48 MB / 1.076 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008209/0.6247, allocations: 390.6 kB / 1.38 GB, free: 10.09 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.6247, allocations: 9.719 kB / 1.38 GB, free: 10.08 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.6247, allocations: 0 / 1.38 GB, free: 10.08 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-05/0.6247, allocations: 4 kB / 1.38 GB, free: 10.08 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/0.6259, allocations: 163.8 kB / 1.38 GB, free: 9.918 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001931/0.6278, allocations: 2.367 MB / 1.383 GB, free: 7.457 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004941/0.6283, allocations: 47.78 kB / 1.383 GB, free: 7.41 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-05/0.6284, allocations: 12 kB / 1.383 GB, free: 7.398 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000481/0.6288, allocations: 248.1 kB / 1.383 GB, free: 7.152 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005074/0.6293, allocations: 388.4 kB / 1.383 GB, free: 6.699 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004891/0.6298, allocations: 232.1 kB / 1.384 GB, free: 6.457 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.493e-06/0.6298, allocations: 0 / 1.384 GB, free: 6.457 MB / 1.076 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0007441/0.6306, allocations: 368.6 kB / 1.384 GB, free: 6.09 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.6306, allocations: 8 kB / 1.384 GB, free: 6.082 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.525e-06/0.6306, allocations: 0 / 1.384 GB, free: 6.082 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.079e-06/0.6306, allocations: 0 / 1.384 GB, free: 6.082 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004573/0.6311, allocations: 103.9 kB / 1.384 GB, free: 5.98 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.6311, allocations: 4 kB / 1.384 GB, free: 5.977 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004077/0.6315, allocations: 43.8 kB / 1.384 GB, free: 5.934 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-05/0.6315, allocations: 15.98 kB / 1.384 GB, free: 5.918 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001986/0.6317, allocations: 203.5 kB / 1.384 GB, free: 5.715 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/0.6319, allocations: 67.45 kB / 1.384 GB, free: 5.648 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007767/0.6326, allocations: 317.8 kB / 1.385 GB, free: 5.328 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.6327, allocations: 7.984 kB / 1.385 GB, free: 5.32 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.6327, allocations: 0 / 1.385 GB, free: 5.32 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001902/0.6329, allocations: 75.77 kB / 1.385 GB, free: 5.246 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.455e-05/0.6329, allocations: 4 kB / 1.385 GB, free: 5.242 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002848/0.6332, allocations: 19.97 kB / 1.385 GB, free: 5.223 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.517e-05/0.6333, allocations: 23.91 kB / 1.385 GB, free: 5.199 MB / 1.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008352/0.6341, allocations: 379.9 kB / 1.385 GB, free: 4.809 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008981/0.635, allocations: 0.5553 MB / 1.386 GB, free: 4.238 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002128/0.6352, allocations: 85.11 kB / 1.386 GB, free: 4.156 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005431/0.6358, allocations: 403.1 kB / 1.386 GB, free: 3.77 MB / 1.076 GB Notification: Performance of Backend: time 5.41e-07/0.6358, allocations: 0 / 1.386 GB, free: 3.77 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002466/0.6382, allocations: 0.634 MB / 1.387 GB, free: 3.129 MB / 1.076 GB Notification: Performance of SimCode: time 0.003177/0.6414, allocations: 1.693 MB / 1.388 GB, free: 1.395 MB / 1.076 GB Notification: Performance of Templates: time 0.0296/0.671, allocations: 13.69 MB / 1.402 GB, free: 3.969 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_12_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_12_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./Buildings_12_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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: 11.175374436999846]