Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002221/0.002221, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002793/0.002793, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.686/1.686, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.8/2.8, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.385e-06/2.385e-06, allocations: 0.5469 kB / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.518e-05/3.756e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.005646/0.005684, allocations: 2.819 MB / 0.7892 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.2279/0.2336, allocations: 135 MB / 0.921 GB, free: 2.547 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004488/0.234, allocations: 4 kB / 0.921 GB, free: 2.543 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.00044/0.2344, allocations: 91.09 kB / 0.9211 GB, free: 2.453 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001439/0.2359, allocations: 305.8 kB / 0.9214 GB, free: 2.152 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003005/0.2389, allocations: 1.004 MB / 0.9223 GB, free: 1.145 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001287/0.2402, allocations: 0.8029 MB / 0.9231 GB, free: 344 kB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002048/0.2404, allocations: 66.3 kB / 0.9232 GB, free: 276 kB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000725/0.2411, allocations: 455.2 kB / 0.9236 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005788/0.2417, allocations: 267.3 kB / 0.9239 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.2418, allocations: 60 kB / 0.9239 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001768/0.2436, allocations: 0.7403 MB / 0.9247 GB, free: 14.76 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.000181/0.2437, allocations: 155.5 kB / 0.9248 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0003055/0.244, allocations: 223.5 kB / 0.925 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001733/0.2458, allocations: 1.079 MB / 0.9261 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.2458, allocations: 4 kB / 0.9261 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2458, allocations: 0 / 0.9261 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.338e-06/0.2458, allocations: 0 / 0.9261 GB, free: 13.3 MB / 0.8855 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.00314/0.2489, allocations: 1.039 MB / 0.9271 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.249, allocations: 8.031 kB / 0.9271 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003301/0.2523, allocations: 359.9 kB / 0.9274 GB, free: 11.85 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008881/0.2532, allocations: 343.3 kB / 0.9278 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001338/0.2533, allocations: 91.91 kB / 0.9279 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/0.2535, allocations: 47.94 kB / 0.9279 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001269/0.2547, allocations: 369.2 kB / 0.9283 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.2547, allocations: 0 / 0.9283 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.913e-05/0.2548, allocations: 15.98 kB / 0.9283 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.2548, allocations: 7.938 kB / 0.9283 GB, free: 10.94 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008249/0.2556, allocations: 249.8 kB / 0.9285 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004947/0.2606, allocations: 1.467 MB / 0.9299 GB, free: 9.188 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008614/0.2614, allocations: 223.3 kB / 0.9302 GB, free: 8.961 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005032/0.2619, allocations: 148.8 kB / 0.9303 GB, free: 8.812 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.754e-05/0.262, allocations: 8 kB / 0.9303 GB, free: 8.805 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008284/0.2628, allocations: 300.6 kB / 0.9306 GB, free: 8.492 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=30): time 2.215e-06/0.2628, allocations: 0 / 0.9306 GB, free: 8.492 MB / 0.8855 GB Notification: Performance of matching and sorting (n=30): time 0.009336/0.2721, allocations: 1.39 MB / 0.932 GB, free: 7.09 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.401e-05/0.2722, allocations: 85.05 kB / 0.932 GB, free: 6.988 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007113/0.2729, allocations: 437.7 kB / 0.9325 GB, free: 6.555 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001665/0.2731, allocations: 41.7 kB / 0.9325 GB, free: 6.508 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002504/0.2734, allocations: 201.7 kB / 0.9327 GB, free: 6.305 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.2735, allocations: 103.2 kB / 0.9328 GB, free: 6.203 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003307/0.2738, allocations: 158.2 kB / 0.9329 GB, free: 6.039 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002399/0.2741, allocations: 350.8 kB / 0.9333 GB, free: 5.688 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009271/0.275, allocations: 328.5 kB / 0.9336 GB, free: 5.355 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001286/0.2763, allocations: 0.6707 MB / 0.9342 GB, free: 4.598 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008717/0.285, allocations: 1.86 MB / 0.9361 GB, free: 2.684 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.285, allocations: 0 / 0.9361 GB, free: 2.684 MB / 0.8855 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.008681/0.2937, allocations: 1.677 MB / 0.9377 GB, free: 0.9609 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.546e-05/0.2938, allocations: 67.39 kB / 0.9378 GB, free: 0.8828 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.2938, allocations: 0 / 0.9378 GB, free: 0.8828 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002655/0.2964, allocations: 483 kB / 0.9382 GB, free: 408 kB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006219/0.2971, allocations: 87.88 kB / 0.9383 GB, free: 320 kB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007745/0.3048, allocations: 4.434 MB / 0.9426 GB, free: 11.62 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.306, allocations: 107.5 kB / 0.9427 GB, free: 11.51 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001801/0.3062, allocations: 39.95 kB / 0.9428 GB, free: 11.47 MB / 0.9011 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.0004404/0.3066, allocations: 179.4 kB / 0.9429 GB, free: 11.29 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001905/0.3068, allocations: 59.64 kB / 0.943 GB, free: 11.23 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.3069, allocations: 39.34 kB / 0.943 GB, free: 11.19 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.3069, allocations: 4 kB / 0.943 GB, free: 11.19 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.3069, allocations: 0 / 0.943 GB, free: 11.19 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3069, allocations: 0 / 0.943 GB, free: 11.19 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006563/0.3076, allocations: 345.2 kB / 0.9434 GB, free: 10.82 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.3076, allocations: 0 / 0.9434 GB, free: 10.82 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001998/0.3078, allocations: 31.91 kB / 0.9434 GB, free: 10.79 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007261/0.3085, allocations: 233.5 kB / 0.9436 GB, free: 10.55 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.176e-05/0.3086, allocations: 15.97 kB / 0.9436 GB, free: 10.54 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002308/0.3109, allocations: 1.496 MB / 0.9451 GB, free: 8.996 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.3109, allocations: 0 / 0.9451 GB, free: 8.996 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007253/0.3181, allocations: 1.313 MB / 0.9464 GB, free: 7.656 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002796/0.3184, allocations: 87.62 kB / 0.9465 GB, free: 7.57 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.3185, allocations: 8 kB / 0.9465 GB, free: 7.562 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005392/0.319, allocations: 47.83 kB / 0.9465 GB, free: 7.516 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001643/0.3192, allocations: 39.92 kB / 0.9466 GB, free: 7.477 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.636e-05/0.3193, allocations: 15.98 kB / 0.9466 GB, free: 7.461 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0005017/0.3198, allocations: 287.1 kB / 0.9468 GB, free: 7.18 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3198, allocations: 0 / 0.9468 GB, free: 7.18 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0008808/0.3206, allocations: 163.8 kB / 0.947 GB, free: 7.02 MB / 0.9011 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.0004589/0.3211, allocations: 175.1 kB / 0.9472 GB, free: 6.84 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.003746/0.3248, allocations: 1.072 MB / 0.9482 GB, free: 5.699 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.3248, allocations: 0 / 0.9482 GB, free: 5.699 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001645/0.3265, allocations: 310.3 kB / 0.9485 GB, free: 5.391 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007033/0.3272, allocations: 127.3 kB / 0.9486 GB, free: 5.27 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002408/0.3296, allocations: 0.8449 MB / 0.9495 GB, free: 4.398 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.3299, allocations: 207.7 kB / 0.9497 GB, free: 4.176 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.000335/0.3302, allocations: 63.19 kB / 0.9497 GB, free: 4.117 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001657/0.3304, allocations: 36.48 kB / 0.9497 GB, free: 4.082 MB / 0.9011 GB Notification: Performance of SimCode: time 1.813e-06/0.3304, allocations: 0 / 0.9497 GB, free: 4.082 MB / 0.9011 GB Notification: Performance of Templates: time 0.02866/0.359, allocations: 13.29 MB / 0.9627 GB, free: 6.93 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.394443648983724]