Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001539/0.001539, allocations: 88.72 kB / 19.44 MB, free: 332 kB / 13.93 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.001877/0.001877, allocations: 157.7 kB / 22.75 MB, free: 1.66 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.6/1.6, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.378/3.378, allocations: 429.5 MB / 0.673 GB, free: 3.914 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.8776 GB, free: 6.43 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.865e-05/4.037e-05, allocations: 7.844 kB / 0.8776 GB, free: 6.422 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.006472/0.006513, allocations: 2.845 MB / 0.8804 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.2411/0.2476, allocations: 135 MB / 1.012 GB, free: 12.11 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006235/0.2482, allocations: 7.938 kB / 1.012 GB, free: 12.11 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0005332/0.2487, allocations: 91.09 kB / 1.012 GB, free: 12.02 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001365/0.2501, allocations: 297.9 kB / 1.013 GB, free: 11.72 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.003403/0.2535, allocations: 1.02 MB / 1.014 GB, free: 10.7 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.001446/0.255, allocations: 0.8106 MB / 1.014 GB, free: 9.887 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002455/0.2552, allocations: 62.17 kB / 1.014 GB, free: 9.828 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001259/0.2565, allocations: 463.1 kB / 1.015 GB, free: 9.375 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007971/0.2573, allocations: 275.3 kB / 1.015 GB, free: 9.105 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.000214/0.2575, allocations: 60 kB / 1.015 GB, free: 9.047 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001834/0.2593, allocations: 0.7442 MB / 1.016 GB, free: 8.301 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0002342/0.2595, allocations: 147.6 kB / 1.016 GB, free: 8.156 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0003849/0.2599, allocations: 219.5 kB / 1.016 GB, free: 7.941 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.001975/0.2619, allocations: 1.094 MB / 1.017 GB, free: 6.844 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.2619, allocations: 0 / 1.017 GB, free: 6.844 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2619, allocations: 0 / 1.017 GB, free: 6.844 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 1.77e-05/0.2619, allocations: 4 kB / 1.017 GB, free: 6.84 MB / 0.9792 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.003453/0.2654, allocations: 1.043 MB / 1.018 GB, free: 5.742 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.2654, allocations: 8.031 kB / 1.018 GB, free: 5.734 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003453/0.2689, allocations: 359.9 kB / 1.019 GB, free: 5.383 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009155/0.2698, allocations: 355.2 kB / 1.019 GB, free: 5.012 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/0.2699, allocations: 91.89 kB / 1.019 GB, free: 4.91 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004198/0.2703, allocations: 40 kB / 1.019 GB, free: 4.871 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009953/0.2713, allocations: 377.1 kB / 1.02 GB, free: 4.484 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.2713, allocations: 0 / 1.02 GB, free: 4.484 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.757e-05/0.2714, allocations: 12 kB / 1.02 GB, free: 4.473 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.2714, allocations: 4 kB / 1.02 GB, free: 4.469 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008686/0.2723, allocations: 249.7 kB / 1.02 GB, free: 4.223 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005206/0.2775, allocations: 1.459 MB / 1.021 GB, free: 2.719 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000903/0.2784, allocations: 238.6 kB / 1.021 GB, free: 2.477 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005157/0.2789, allocations: 144.8 kB / 1.022 GB, free: 2.332 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 3.768e-05/0.2789, allocations: 12 kB / 1.022 GB, free: 2.32 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008369/0.2798, allocations: 298 kB / 1.022 GB, free: 2.012 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=30): time 2.084e-06/0.2798, allocations: 0 / 1.022 GB, free: 2.012 MB / 0.9792 GB Notification: Performance of matching and sorting (n=30): time 0.009299/0.2891, allocations: 1.391 MB / 1.023 GB, free: 0.6094 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.2892, allocations: 85.11 kB / 1.023 GB, free: 0.5078 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000778/0.29, allocations: 425.8 kB / 1.024 GB, free: 88 kB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001602/0.2901, allocations: 41.69 kB / 1.024 GB, free: 40 kB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003188/0.2904, allocations: 209.6 kB / 1.024 GB, free: 15.83 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001503/0.2906, allocations: 103.2 kB / 1.024 GB, free: 15.73 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003693/0.291, allocations: 154.2 kB / 1.024 GB, free: 15.57 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002466/0.2912, allocations: 354.8 kB / 1.025 GB, free: 15.21 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009617/0.2922, allocations: 328.5 kB / 1.025 GB, free: 14.88 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/0.2934, allocations: 0.6784 MB / 1.026 GB, free: 14.12 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008806/0.3022, allocations: 1.844 MB / 1.027 GB, free: 12.21 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.3022, allocations: 4 kB / 1.027 GB, free: 12.21 MB / 0.9948 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.008563/0.3108, allocations: 1.681 MB / 1.029 GB, free: 10.48 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 7.672e-05/0.3109, allocations: 63.39 kB / 1.029 GB, free: 10.41 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.3109, allocations: 0 / 1.029 GB, free: 10.41 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002597/0.3135, allocations: 471.1 kB / 1.029 GB, free: 9.938 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006114/0.3141, allocations: 103.8 kB / 1.03 GB, free: 9.836 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007815/0.3219, allocations: 4.446 MB / 1.034 GB, free: 5.129 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/0.3231, allocations: 95.56 kB / 1.034 GB, free: 5.035 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001741/0.3233, allocations: 43.95 kB / 1.034 GB, free: 4.992 MB / 0.9948 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.0004087/0.3237, allocations: 169.6 kB / 1.034 GB, free: 4.816 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001742/0.3239, allocations: 51.66 kB / 1.034 GB, free: 4.766 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.787e-05/0.324, allocations: 47.34 kB / 1.034 GB, free: 4.723 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.324, allocations: 4 kB / 1.034 GB, free: 4.719 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.324, allocations: 0 / 1.034 GB, free: 4.719 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.324, allocations: 3.984 kB / 1.034 GB, free: 4.715 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000634/0.3246, allocations: 349 kB / 1.035 GB, free: 4.344 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.3247, allocations: 0 / 1.035 GB, free: 4.344 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001888/0.3248, allocations: 31.84 kB / 1.035 GB, free: 4.312 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006983/0.3255, allocations: 229.6 kB / 1.035 GB, free: 4.082 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.435e-05/0.3256, allocations: 11.98 kB / 1.035 GB, free: 4.07 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002313/0.3279, allocations: 1.501 MB / 1.036 GB, free: 2.523 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.3279, allocations: 4 kB / 1.036 GB, free: 2.52 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007113/0.335, allocations: 1.316 MB / 1.038 GB, free: 1.176 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002896/0.3353, allocations: 83.62 kB / 1.038 GB, free: 1.094 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.934e-05/0.3354, allocations: 8 kB / 1.038 GB, free: 1.086 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00055/0.336, allocations: 39.89 kB / 1.038 GB, free: 1.047 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001639/0.3361, allocations: 43.92 kB / 1.038 GB, free: 1.004 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-05/0.3362, allocations: 11.98 kB / 1.038 GB, free: 0.9922 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0004731/0.3366, allocations: 287.1 kB / 1.038 GB, free: 0.7109 MB / 0.9948 GB Notification: Performance of sort global known variables: time 9e-08/0.3366, allocations: 0 / 1.038 GB, free: 0.7109 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0008452/0.3375, allocations: 163.8 kB / 1.038 GB, free: 0.5508 MB / 0.9948 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.0004827/0.338, allocations: 183.1 kB / 1.038 GB, free: 368 kB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.003875/0.3418, allocations: 1.065 MB / 1.04 GB, free: 15.23 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.3418, allocations: 0 / 1.04 GB, free: 15.23 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001677/0.3435, allocations: 317.3 kB / 1.04 GB, free: 14.91 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007347/0.3443, allocations: 129.3 kB / 1.04 GB, free: 14.79 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002575/0.3468, allocations: 0.8555 MB / 1.041 GB, free: 13.91 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.3471, allocations: 212 kB / 1.041 GB, free: 13.69 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.000335/0.3474, allocations: 55.25 kB / 1.041 GB, free: 13.64 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001623/0.3476, allocations: 40.48 kB / 1.041 GB, free: 13.6 MB / 1.01 GB Notification: Performance of SimCode: time 9.32e-07/0.3476, allocations: 0 / 1.041 GB, free: 13.6 MB / 1.01 GB Notification: Performance of Templates: time 0.03553/0.3831, allocations: 13.4 MB / 1.054 GB, free: 340 kB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.436199599993415]