Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.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.001632/0.001632, 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.002028/0.002028, 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.531/1.531, 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.302/3.302, allocations: 0.49 GB / 0.7959 GB, free: 35.42 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.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hex.m1_flow|hex.m2_flow|hex.sta_a1.X.1.|hex.sta_b1.X.1.|hex.sta_a2.X.1.|hex.sta_b2.X.1.|hex.dp1|hex.dp2|hex.mWat1_flow|hex.mWat2_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hex.m1_flow|hex.m2_flow|hex.sta_a1.X.1.|hex.sta_b1.X.1.|hex.sta_a2.X.1.|hex.sta_b2.X.1.|hex.dp1|hex.dp2|hex.mWat1_flow|hex.mWat2_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") [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.002061/0.002061, allocations: 68.09 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4883/0.4904, allocations: 176.1 MB / 1.327 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.2418/0.7322, allocations: 190 MB / 1.513 GB, free: 2.289 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01261/0.7448, allocations: 6.627 MB / 1.519 GB, free: 11.65 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001944/0.7468, allocations: 59.5 kB / 1.519 GB, free: 11.59 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.002272/0.749, allocations: 0.7764 MB / 1.52 GB, free: 10.81 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.007522/0.7566, allocations: 2.602 MB / 1.522 GB, free: 8.195 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003241/0.7598, allocations: 1.197 MB / 1.524 GB, free: 7.008 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.00426/0.7641, allocations: 2.84 MB / 1.526 GB, free: 4.16 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00148/0.7655, allocations: 0.8572 MB / 1.527 GB, free: 3.281 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005582/0.7711, allocations: 2.394 MB / 1.53 GB, free: 0.8789 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002182/0.7733, allocations: 0.9748 MB / 1.53 GB, free: 15.91 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002593/0.7736, allocations: 116 kB / 1.531 GB, free: 15.79 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004086/0.7777, allocations: 2.05 MB / 1.533 GB, free: 13.74 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0004964/0.7782, allocations: 430.6 kB / 1.533 GB, free: 13.32 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0007391/0.7789, allocations: 0.5638 MB / 1.534 GB, free: 12.75 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.004048/0.7829, allocations: 2.457 MB / 1.536 GB, free: 10.29 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.7829, allocations: 0 / 1.536 GB, free: 10.29 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7829, allocations: 0 / 1.536 GB, free: 10.29 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.55e-05/0.783, allocations: 0 / 1.536 GB, free: 10.29 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.004845/0.7878, allocations: 1.824 MB / 1.538 GB, free: 8.414 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.7878, allocations: 8.031 kB / 1.538 GB, free: 8.406 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003411/0.7913, allocations: 0.5377 MB / 1.538 GB, free: 7.867 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002156/0.7934, allocations: 0.9552 MB / 1.539 GB, free: 6.887 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.397e-05/0.7935, allocations: 69.98 kB / 1.539 GB, free: 6.82 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001637/0.7937, allocations: 80 kB / 1.539 GB, free: 6.742 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002934/0.7966, allocations: 1.358 MB / 1.541 GB, free: 5.344 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/0.7966, allocations: 3.938 kB / 1.541 GB, free: 5.34 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/0.7967, allocations: 35.98 kB / 1.541 GB, free: 5.305 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.307e-05/0.7968, allocations: 45.98 kB / 1.541 GB, free: 5.258 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003791/0.8006, allocations: 1.522 MB / 1.542 GB, free: 3.738 MB / 1.232 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.006288/0.8069, allocations: 2.636 MB / 1.545 GB, free: 1.059 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002543/0.8094, allocations: 0.9204 MB / 1.546 GB, free: 132 kB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00155/0.811, allocations: 0.6045 MB / 1.546 GB, free: 15.52 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009889/0.8119, allocations: 164.4 kB / 1.546 GB, free: 15.36 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.407e-05/0.812, allocations: 43.22 kB / 1.547 GB, free: 15.3 MB / 1.248 GB Notification: Performance of pre-optimization done (n=76): time 3.286e-06/0.812, allocations: 3.938 kB / 1.547 GB, free: 15.3 MB / 1.248 GB Notification: Performance of matching and sorting (n=76): time 0.00504/0.817, allocations: 1.778 MB / 1.548 GB, free: 13.52 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.8171, allocations: 64 kB / 1.548 GB, free: 13.44 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.8181, allocations: 0.7121 MB / 1.549 GB, free: 12.72 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0001079/0.8182, allocations: 41.7 kB / 1.549 GB, free: 12.67 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004002/0.8186, allocations: 469 kB / 1.549 GB, free: 12.21 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002772/0.8189, allocations: 273.8 kB / 1.55 GB, free: 11.94 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003247/0.8192, allocations: 150.6 kB / 1.55 GB, free: 11.78 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.8194, allocations: 333.9 kB / 1.55 GB, free: 11.45 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001507/0.8209, allocations: 0.5568 MB / 1.551 GB, free: 10.88 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001794/0.8227, allocations: 0.9484 MB / 1.552 GB, free: 9.832 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002921/0.8256, allocations: 1.119 MB / 1.553 GB, free: 8.691 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.8256, allocations: 0 / 1.553 GB, free: 8.691 MB / 1.248 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003513/0.8291, allocations: 1.355 MB / 1.554 GB, free: 7.316 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 6.721e-05/0.8292, allocations: 37.7 kB / 1.554 GB, free: 7.273 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.8292, allocations: 0 / 1.554 GB, free: 7.273 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.8292, allocations: 4 kB / 1.554 GB, free: 7.27 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001678/0.8309, allocations: 255.7 kB / 1.554 GB, free: 7.02 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008619/0.8317, allocations: 1.188 MB / 1.556 GB, free: 5.785 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/0.8329, allocations: 135.7 kB / 1.556 GB, free: 5.652 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.69e-05/0.833, allocations: 31.98 kB / 1.556 GB, free: 5.621 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001908/0.8349, allocations: 0.7846 MB / 1.556 GB, free: 4.828 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001746/0.8367, allocations: 0.9445 MB / 1.557 GB, free: 3.781 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002904/0.8396, allocations: 1.107 MB / 1.558 GB, free: 2.656 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.405e-06/0.8396, allocations: 0 / 1.558 GB, free: 2.656 MB / 1.248 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.003491/0.8431, allocations: 1.347 MB / 1.56 GB, free: 1.289 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 4.316e-05/0.8431, allocations: 39.05 kB / 1.56 GB, free: 1.246 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.8431, allocations: 3.938 kB / 1.56 GB, free: 1.242 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.983e-06/0.8431, allocations: 4 kB / 1.56 GB, free: 1.238 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/0.8444, allocations: 227.8 kB / 1.56 GB, free: 1.016 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.8444, allocations: 7.938 kB / 1.56 GB, free: 1.008 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/0.8455, allocations: 135.5 kB / 1.56 GB, free: 0.875 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.473e-05/0.8456, allocations: 31.98 kB / 1.56 GB, free: 0.8438 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (hex.i2_w,hex.i1_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003075/0.8459, allocations: 222.5 kB / 1.56 GB, free: 0.6211 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001928/0.8461, allocations: 107.4 kB / 1.561 GB, free: 0.5156 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003617/0.8497, allocations: 1.331 MB / 1.562 GB, free: 15.17 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.8497, allocations: 7.922 kB / 1.562 GB, free: 15.16 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.8497, allocations: 0 / 1.562 GB, free: 15.16 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005595/0.8502, allocations: 223 kB / 1.562 GB, free: 14.94 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/0.8504, allocations: 12 kB / 1.562 GB, free: 14.93 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/0.8515, allocations: 107.9 kB / 1.562 GB, free: 14.82 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.8516, allocations: 48.56 kB / 1.562 GB, free: 14.78 MB / 1.264 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003939/0.8555, allocations: 1.342 MB / 1.564 GB, free: 13.43 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004848/0.8604, allocations: 2.101 MB / 1.566 GB, free: 11.31 MB / 1.264 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001429/0.8618, allocations: 0.5282 MB / 1.566 GB, free: 10.78 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0006628/0.8625, allocations: 0.4912 MB / 1.567 GB, free: 10.29 MB / 1.264 GB Notification: Performance of Backend: time 6.41e-07/0.8625, allocations: 0 / 1.567 GB, free: 10.29 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.005837/0.8683, allocations: 1.996 MB / 1.569 GB, free: 8.262 MB / 1.264 GB Notification: Performance of SimCode: time 0.003553/0.8719, allocations: 2.221 MB / 1.571 GB, free: 5.992 MB / 1.264 GB Notification: Performance of Templates: time 0.04904/0.9209, allocations: 31.5 MB / 1.601 GB, free: 6.789 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_12_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_12_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_12_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.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.480061952999677]