Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.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.001488/0.001488, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.001594/0.001594, allocations: 214.8 kB / 23 MB, free: 4.969 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.633/1.633, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.464/3.464, allocations: 0.49 GB / 0.7959 GB, free: 35.37 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.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|evaSho.m|evaNor.m|evaSho.mEva_flow|evaNor.mEva_flow|intSho.y|intNor.y",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|evaSho.m|evaNor.m|evaSho.mEva_flow|evaNor.mEva_flow|intSho.y|intNor.y",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse") [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.002048/0.002048, allocations: 76.42 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5038/0.5059, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.00522/0.5111, allocations: 2.817 MB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.2056/0.7167, allocations: 134.9 MB / 1.462 GB, free: 6.711 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004619/0.7171, allocations: 4 kB / 1.462 GB, free: 6.707 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0004437/0.7176, allocations: 83.16 kB / 1.462 GB, free: 6.625 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001042/0.7186, allocations: 282.1 kB / 1.462 GB, free: 6.348 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002991/0.7216, allocations: 1.025 MB / 1.463 GB, free: 5.332 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001108/0.7227, allocations: 0.7797 MB / 1.464 GB, free: 4.551 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002269/0.7229, allocations: 74.17 kB / 1.464 GB, free: 4.473 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004592/0.7234, allocations: 335 kB / 1.464 GB, free: 4.145 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000548/0.7239, allocations: 334.8 kB / 1.464 GB, free: 3.816 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001264/0.7241, allocations: 60 kB / 1.465 GB, free: 3.758 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001675/0.7257, allocations: 0.7484 MB / 1.465 GB, free: 3.008 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001748/0.7259, allocations: 151.5 kB / 1.465 GB, free: 2.859 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0003038/0.7262, allocations: 251 kB / 1.466 GB, free: 2.613 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001516/0.7277, allocations: 0.9772 MB / 1.467 GB, free: 1.633 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.7277, allocations: 4 kB / 1.467 GB, free: 1.629 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.745e-06/0.7277, allocations: 0 / 1.467 GB, free: 1.629 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.055e-05/0.7278, allocations: 0 / 1.467 GB, free: 1.629 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.003393/0.7312, allocations: 1.047 MB / 1.468 GB, free: 0.5312 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 7.219e-05/0.7312, allocations: 12.02 kB / 1.468 GB, free: 0.5195 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003494/0.7347, allocations: 328 kB / 1.468 GB, free: 204 kB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008161/0.7355, allocations: 343.5 kB / 1.468 GB, free: 15.83 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001333/0.7357, allocations: 99.77 kB / 1.468 GB, free: 15.72 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.7358, allocations: 40 kB / 1.468 GB, free: 15.68 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009334/0.7367, allocations: 372.2 kB / 1.469 GB, free: 15.3 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.7367, allocations: 0 / 1.469 GB, free: 15.3 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.812e-05/0.7368, allocations: 8 kB / 1.469 GB, free: 15.29 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/0.7368, allocations: 8 kB / 1.469 GB, free: 15.28 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008175/0.7376, allocations: 253.4 kB / 1.469 GB, free: 15.03 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004917/0.7425, allocations: 1.474 MB / 1.47 GB, free: 13.52 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007956/0.7433, allocations: 234.6 kB / 1.471 GB, free: 13.28 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000489/0.7438, allocations: 152 kB / 1.471 GB, free: 13.13 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 3.118e-05/0.7439, allocations: 8 kB / 1.471 GB, free: 13.12 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008033/0.7447, allocations: 300.7 kB / 1.471 GB, free: 12.81 MB / 1.17 GB Notification: Performance of pre-optimization done (n=30): time 1.803e-06/0.7447, allocations: 0 / 1.471 GB, free: 12.81 MB / 1.17 GB Notification: Performance of matching and sorting (n=30): time 0.009172/0.7538, allocations: 1.362 MB / 1.472 GB, free: 11.43 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/0.7539, allocations: 81.11 kB / 1.473 GB, free: 11.34 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006399/0.7545, allocations: 429.7 kB / 1.473 GB, free: 10.9 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001027/0.7546, allocations: 41.7 kB / 1.473 GB, free: 10.86 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002174/0.7549, allocations: 205.6 kB / 1.473 GB, free: 10.65 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.755, allocations: 107.1 kB / 1.473 GB, free: 10.55 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003156/0.7553, allocations: 158.2 kB / 1.473 GB, free: 10.39 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002149/0.7555, allocations: 358.8 kB / 1.474 GB, free: 10.03 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008634/0.7564, allocations: 324.5 kB / 1.474 GB, free: 9.699 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001205/0.7576, allocations: 0.6745 MB / 1.475 GB, free: 8.934 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008559/0.7661, allocations: 1.861 MB / 1.477 GB, free: 7.016 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.7661, allocations: 4 kB / 1.477 GB, free: 7.012 MB / 1.17 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.008576/0.7747, allocations: 1.646 MB / 1.478 GB, free: 5.32 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 7.013e-05/0.7748, allocations: 59.41 kB / 1.478 GB, free: 5.25 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.7748, allocations: 3.938 kB / 1.478 GB, free: 5.246 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00198/0.7768, allocations: 403.1 kB / 1.479 GB, free: 4.84 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006167/0.7774, allocations: 91.86 kB / 1.479 GB, free: 4.75 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006745/0.7841, allocations: 4.42 MB / 1.483 GB, free: 72 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/0.7854, allocations: 95.75 kB / 1.483 GB, free: 15.97 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/0.7855, allocations: 39.89 kB / 1.483 GB, free: 15.94 MB / 1.186 GB Warning: Assuming fixed start value for the following 2 variables: evaNor.off:DISCRETE(fixed = true protected = true ) \"Signal, true when component is off\" type: Boolean evaSho.off:DISCRETE(fixed = true protected = true ) \"Signal, true when component is off\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 18 ($PRE.pulNor.count,$PRE.pulNor.T_start,$PRE.evaNor.off,pulNor.count,pulNor.T_start,evaNor.off,$whenCondition2,$whenCondition4,$PRE.evaSho.off,$PRE.pulSho.count,$PRE.pulSho.T_start,evaSho.off,pulSho.count,pulSho.T_start,$whenCondition1,$whenCondition3,intNor.local_reset,intSho.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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 {7, 7} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000372/0.7859, allocations: 178.7 kB / 1.483 GB, free: 15.75 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.855e-05/0.786, allocations: 43.72 kB / 1.483 GB, free: 15.71 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.282e-05/0.7861, allocations: 39.34 kB / 1.483 GB, free: 15.67 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.7861, allocations: 3.984 kB / 1.483 GB, free: 15.66 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-06/0.7861, allocations: 0 / 1.483 GB, free: 15.66 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002081/0.7863, allocations: 79.58 kB / 1.483 GB, free: 15.59 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.055e-05/0.7864, allocations: 8 kB / 1.483 GB, free: 15.58 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005267/0.7869, allocations: 55.83 kB / 1.484 GB, free: 15.52 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002222/0.7871, allocations: 63.88 kB / 1.484 GB, free: 15.46 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002236/0.7893, allocations: 0.6561 MB / 1.484 GB, free: 14.79 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001928/0.7913, allocations: 0.854 MB / 1.485 GB, free: 13.92 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005586/0.7918, allocations: 162.5 kB / 1.485 GB, free: 13.77 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0004256/0.7923, allocations: 283.1 kB / 1.486 GB, free: 13.49 MB / 1.186 GB Notification: Performance of Backend: time 2.9e-07/0.7923, allocations: 3.938 kB / 1.486 GB, free: 13.49 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.004532/0.7968, allocations: 1.21 MB / 1.487 GB, free: 12.21 MB / 1.186 GB Notification: Performance of SimCode: time 0.002264/0.7991, allocations: 1.403 MB / 1.488 GB, free: 10.77 MB / 1.186 GB Notification: Performance of Templates: time 0.02792/0.827, allocations: 15.85 MB / 1.504 GB, free: 11.01 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.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.1919437270044]