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.002565/0.002565, allocations: 79.7 kB / 20.23 MB, free: 4.191 MB / 18.57 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.002865/0.002865, allocations: 157.3 kB / 23.55 MB, free: 0.8789 MB / 18.57 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.651/1.651, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.108/3.108, allocations: 377.8 MB / 0.6232 GB, free: 8.512 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.634e-06/1.634e-06, allocations: 0 / 0.8108 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.321e-05/3.485e-05, allocations: 6.25 kB / 0.8109 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.005433/0.005468, allocations: 2.984 MB / 0.8138 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.2253/0.2308, allocations: 149.1 MB / 0.9594 GB, free: 9.449 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003611/0.2311, allocations: 0 / 0.9594 GB, free: 9.449 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0004188/0.2316, allocations: 91.16 kB / 0.9595 GB, free: 9.359 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001032/0.2326, allocations: 297.8 kB / 0.9598 GB, free: 9.066 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.002849/0.2354, allocations: 1.012 MB / 0.9608 GB, free: 8.051 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001605/0.237, allocations: 0.799 MB / 0.9615 GB, free: 7.25 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002062/0.2372, allocations: 62.3 kB / 0.9616 GB, free: 7.188 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006973/0.2379, allocations: 455.1 kB / 0.962 GB, free: 6.742 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005543/0.2385, allocations: 271.3 kB / 0.9623 GB, free: 6.477 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001365/0.2386, allocations: 60 kB / 0.9623 GB, free: 6.418 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001843/0.2405, allocations: 0.7441 MB / 0.9631 GB, free: 5.672 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002044/0.2407, allocations: 159.5 kB / 0.9632 GB, free: 5.516 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0003056/0.241, allocations: 215.5 kB / 0.9634 GB, free: 5.305 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001715/0.2427, allocations: 1.083 MB / 0.9645 GB, free: 4.219 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2427, allocations: 0 / 0.9645 GB, free: 4.219 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2427, allocations: 0 / 0.9645 GB, free: 4.219 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 9.318e-06/0.2427, allocations: 0 / 0.9645 GB, free: 4.219 MB / 0.9167 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.002979/0.2457, allocations: 1.164 MB / 0.9656 GB, free: 2.988 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.2457, allocations: 8.031 kB / 0.9656 GB, free: 2.98 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002951/0.2487, allocations: 328 kB / 0.9659 GB, free: 2.66 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007666/0.2495, allocations: 358.1 kB / 0.9663 GB, free: 2.285 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001267/0.2496, allocations: 95.89 kB / 0.9664 GB, free: 2.18 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/0.2497, allocations: 47.89 kB / 0.9664 GB, free: 2.133 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008393/0.2505, allocations: 371.3 kB / 0.9668 GB, free: 1.746 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.2506, allocations: 0 / 0.9668 GB, free: 1.746 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.066e-05/0.2506, allocations: 12 kB / 0.9668 GB, free: 1.734 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.2506, allocations: 7.938 kB / 0.9668 GB, free: 1.727 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006587/0.2513, allocations: 217.8 kB / 0.967 GB, free: 1.512 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005/0.2563, allocations: 1.73 MB / 0.9687 GB, free: 15.73 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006758/0.2569, allocations: 215.2 kB / 0.9689 GB, free: 15.5 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004113/0.2574, allocations: 131.6 kB / 0.969 GB, free: 15.37 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 4.358e-05/0.2574, allocations: 4 kB / 0.969 GB, free: 15.37 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007234/0.2581, allocations: 312 kB / 0.9693 GB, free: 15.04 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=30): time 1.613e-06/0.2581, allocations: 0 / 0.9693 GB, free: 15.04 MB / 0.9323 GB Notification: Performance of matching and sorting (n=30): time 0.00807/0.2662, allocations: 1.246 MB / 0.9705 GB, free: 13.78 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.717e-05/0.2663, allocations: 85.05 kB / 0.9706 GB, free: 13.68 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007477/0.267, allocations: 0.5414 MB / 0.9712 GB, free: 13.12 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001159/0.2671, allocations: 37.7 kB / 0.9712 GB, free: 13.08 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002865/0.2674, allocations: 260.5 kB / 0.9714 GB, free: 12.82 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/0.2676, allocations: 107.2 kB / 0.9715 GB, free: 12.71 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003694/0.2679, allocations: 183.8 kB / 0.9717 GB, free: 12.53 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0003872/0.2683, allocations: 0.5391 MB / 0.9722 GB, free: 11.98 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008042/0.2691, allocations: 308.6 kB / 0.9725 GB, free: 11.66 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001154/0.2703, allocations: 0.6499 MB / 0.9732 GB, free: 10.91 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002009/0.2723, allocations: 0.8498 MB / 0.974 GB, free: 10.01 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/0.2723, allocations: 4 kB / 0.974 GB, free: 10.01 MB / 0.9323 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007749/0.28, allocations: 1.594 MB / 0.9756 GB, free: 8.363 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 7.725e-05/0.2801, allocations: 63.53 kB / 0.9756 GB, free: 8.289 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.2801, allocations: 11.98 kB / 0.9756 GB, free: 8.277 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002534/0.2827, allocations: 482.2 kB / 0.9761 GB, free: 7.789 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005267/0.2832, allocations: 87.88 kB / 0.9762 GB, free: 7.703 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007929/0.2911, allocations: 6.081 MB / 0.9821 GB, free: 1.305 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009186/0.292, allocations: 99.47 kB / 0.9822 GB, free: 1.207 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.634e-05/0.2921, allocations: 39.98 kB / 0.9823 GB, free: 1.168 MB / 0.9323 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.000344/0.2925, allocations: 218 kB / 0.9825 GB, free: 0.9453 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.2926, allocations: 55.66 kB / 0.9825 GB, free: 0.8906 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.506e-05/0.2927, allocations: 39.34 kB / 0.9825 GB, free: 0.8516 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.2927, allocations: 4 kB / 0.9826 GB, free: 0.8477 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.2927, allocations: 4 kB / 0.9826 GB, free: 0.8438 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.2927, allocations: 7.984 kB / 0.9826 GB, free: 0.8359 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000598/0.2933, allocations: 392.3 kB / 0.9829 GB, free: 428 kB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.2933, allocations: 4 kB / 0.9829 GB, free: 424 kB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/0.2934, allocations: 19.92 kB / 0.983 GB, free: 404 kB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006158/0.2941, allocations: 231.2 kB / 0.9832 GB, free: 164 kB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.255e-05/0.2941, allocations: 11.98 kB / 0.9832 GB, free: 152 kB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002419/0.2965, allocations: 2.109 MB / 0.9853 GB, free: 13.98 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2965, allocations: 0 / 0.9853 GB, free: 13.98 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006143/0.3027, allocations: 1.206 MB / 0.9864 GB, free: 12.74 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002529/0.3029, allocations: 79.58 kB / 0.9865 GB, free: 12.66 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.165e-05/0.303, allocations: 12 kB / 0.9865 GB, free: 12.65 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004211/0.3034, allocations: 35.84 kB / 0.9866 GB, free: 12.62 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/0.3036, allocations: 43.86 kB / 0.9866 GB, free: 12.57 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.75e-05/0.3036, allocations: 23.98 kB / 0.9866 GB, free: 12.55 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004967/0.3041, allocations: 335 kB / 0.9869 GB, free: 12.22 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.3041, allocations: 0 / 0.9869 GB, free: 12.22 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007062/0.3048, allocations: 171.8 kB / 0.9871 GB, free: 12.05 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (evaSho.m,intSho.y,evaNor.m,intNor.y) * Number of discrete variables: 10 ($whenCondition3,$whenCondition1,pulSho.T_start,pulSho.count,evaSho.off,$whenCondition4,$whenCondition2,evaNor.off,pulNor.T_start,pulNor.count) * Number of discrete states: 4 (pulNor.count,evaNor.off,pulSho.count,evaSho.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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 {7, 7} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003884/0.3052, allocations: 181 kB / 0.9873 GB, free: 11.87 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003301/0.3085, allocations: 1.17 MB / 0.9884 GB, free: 10.62 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3085, allocations: 0 / 0.9884 GB, free: 10.62 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001438/0.31, allocations: 326.8 kB / 0.9887 GB, free: 10.29 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008928/0.3109, allocations: 111.1 kB / 0.9888 GB, free: 10.18 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001801/0.3127, allocations: 0.8562 MB / 0.9897 GB, free: 9.309 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.3129, allocations: 207.7 kB / 0.9899 GB, free: 9.086 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002427/0.3131, allocations: 55.27 kB / 0.9899 GB, free: 9.031 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.3133, allocations: 44.47 kB / 0.99 GB, free: 8.988 MB / 0.948 GB Notification: Performance of SimCode: time 8.11e-07/0.3133, allocations: 0 / 0.99 GB, free: 8.988 MB / 0.948 GB Notification: Performance of Templates: time 0.02586/0.3391, allocations: 13.38 MB / 1.003 GB, free: 11.74 MB / 0.9636 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe 2>&1) [Timeout 240] 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/jenkins/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: 9.379598467960022]