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.001609/0.001609, allocations: 88.39 kB / 20.23 MB, free: 4.176 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.001905/0.001905, allocations: 157.7 kB / 23.54 MB, free: 0.8711 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.585/1.585, allocations: 177.1 MB / 203.9 MB, free: 5.598 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.028/3.028, allocations: 377.9 MB / 0.6232 GB, free: 8.547 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.753e-06/1.753e-06, allocations: 0 / 0.8109 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.154e-05/3.329e-05, allocations: 2.859 kB / 0.8109 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.005526/0.005559, allocations: 2.812 MB / 0.8136 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.2212/0.2267, allocations: 135 MB / 0.9454 GB, free: 7.84 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003444/0.2271, allocations: 3.938 kB / 0.9454 GB, free: 7.836 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0004144/0.2275, allocations: 91.09 kB / 0.9455 GB, free: 7.746 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.001144/0.2287, allocations: 297.8 kB / 0.9458 GB, free: 7.453 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.003162/0.2318, allocations: 1.016 MB / 0.9468 GB, free: 6.434 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.001135/0.2329, allocations: 0.8028 MB / 0.9476 GB, free: 5.629 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001959/0.2331, allocations: 62.3 kB / 0.9476 GB, free: 5.566 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006451/0.2338, allocations: 455.1 kB / 0.948 GB, free: 5.121 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004971/0.2343, allocations: 267.4 kB / 0.9483 GB, free: 4.859 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0001133/0.2344, allocations: 60 kB / 0.9484 GB, free: 4.801 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001542/0.2359, allocations: 0.7441 MB / 0.9491 GB, free: 4.055 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0001815/0.2361, allocations: 155.5 kB / 0.9492 GB, free: 3.902 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0002972/0.2364, allocations: 215.5 kB / 0.9494 GB, free: 3.691 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001668/0.2381, allocations: 1.079 MB / 0.9505 GB, free: 2.609 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.2381, allocations: 0 / 0.9505 GB, free: 2.609 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2381, allocations: 0 / 0.9505 GB, free: 2.609 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.2381, allocations: 4 kB / 0.9505 GB, free: 2.605 MB / 0.9011 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.003045/0.2412, allocations: 1.043 MB / 0.9515 GB, free: 1.508 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.2412, allocations: 12.03 kB / 0.9515 GB, free: 1.496 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003305/0.2445, allocations: 359.9 kB / 0.9519 GB, free: 1.145 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007981/0.2453, allocations: 339.3 kB / 0.9522 GB, free: 0.7891 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001319/0.2454, allocations: 91.89 kB / 0.9523 GB, free: 0.6875 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.2456, allocations: 43.95 kB / 0.9523 GB, free: 0.6445 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009613/0.2465, allocations: 381.1 kB / 0.9527 GB, free: 260 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.2465, allocations: 4 kB / 0.9527 GB, free: 256 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.917e-05/0.2466, allocations: 4 kB / 0.9527 GB, free: 252 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.2466, allocations: 8 kB / 0.9527 GB, free: 244 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008196/0.2474, allocations: 253.8 kB / 0.9529 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005105/0.2525, allocations: 1.459 MB / 0.9544 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008148/0.2533, allocations: 234.6 kB / 0.9546 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000512/0.2538, allocations: 148.8 kB / 0.9547 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 4.051e-05/0.2539, allocations: 7.984 kB / 0.9547 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008036/0.2547, allocations: 300.8 kB / 0.955 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=30): time 1.573e-06/0.2547, allocations: 0 / 0.955 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of matching and sorting (n=30): time 0.009211/0.2639, allocations: 1.386 MB / 0.9564 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.932e-05/0.264, allocations: 85.09 kB / 0.9565 GB, free: 12.28 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007056/0.2647, allocations: 433.7 kB / 0.9569 GB, free: 11.85 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001025/0.2648, allocations: 37.7 kB / 0.9569 GB, free: 11.81 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000271/0.2651, allocations: 209.7 kB / 0.9571 GB, free: 11.6 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001356/0.2652, allocations: 103.2 kB / 0.9572 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003719/0.2656, allocations: 154.2 kB / 0.9574 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002454/0.2658, allocations: 362.8 kB / 0.9577 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009535/0.2668, allocations: 320.5 kB / 0.958 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001356/0.2681, allocations: 0.6745 MB / 0.9587 GB, free: 9.891 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008537/0.2767, allocations: 1.869 MB / 0.9605 GB, free: 7.965 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.2767, allocations: 0 / 0.9605 GB, free: 7.965 MB / 0.9167 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.008971/0.2856, allocations: 1.673 MB / 0.9621 GB, free: 6.246 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 9.098e-05/0.2857, allocations: 63.41 kB / 0.9622 GB, free: 6.172 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.955e-05/0.2857, allocations: 4 kB / 0.9622 GB, free: 6.168 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002705/0.2885, allocations: 479.1 kB / 0.9627 GB, free: 5.688 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006057/0.2891, allocations: 95.8 kB / 0.9627 GB, free: 5.594 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007386/0.2964, allocations: 4.424 MB / 0.9671 GB, free: 0.9023 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/0.2976, allocations: 107.5 kB / 0.9672 GB, free: 0.7969 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001696/0.2978, allocations: 31.97 kB / 0.9672 GB, free: 0.7656 MB / 0.9167 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.0004502/0.2982, allocations: 183.2 kB / 0.9674 GB, free: 0.5781 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002189/0.2985, allocations: 59.66 kB / 0.9674 GB, free: 0.5195 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001112/0.2986, allocations: 39.34 kB / 0.9675 GB, free: 496 kB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.2986, allocations: 4 kB / 0.9675 GB, free: 492 kB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.2986, allocations: 0 / 0.9675 GB, free: 492 kB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.2986, allocations: 7.984 kB / 0.9675 GB, free: 484 kB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008748/0.2995, allocations: 345.2 kB / 0.9678 GB, free: 108 kB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.2995, allocations: 0 / 0.9678 GB, free: 108 kB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001944/0.2997, allocations: 31.84 kB / 0.9678 GB, free: 76 kB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007287/0.3004, allocations: 222 kB / 0.968 GB, free: 15.85 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.746e-05/0.3005, allocations: 15.98 kB / 0.9681 GB, free: 15.84 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002283/0.3027, allocations: 1.504 MB / 0.9695 GB, free: 14.29 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3027, allocations: 0 / 0.9695 GB, free: 14.29 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007153/0.3099, allocations: 1.315 MB / 0.9708 GB, free: 12.94 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000283/0.3102, allocations: 75.64 kB / 0.9709 GB, free: 12.87 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.3103, allocations: 15.98 kB / 0.9709 GB, free: 12.85 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005252/0.3108, allocations: 39.89 kB / 0.9709 GB, free: 12.81 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/0.311, allocations: 39.94 kB / 0.971 GB, free: 12.77 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.785e-05/0.311, allocations: 11.98 kB / 0.971 GB, free: 12.76 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0004878/0.3115, allocations: 283.1 kB / 0.9713 GB, free: 12.48 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8e-08/0.3115, allocations: 0 / 0.9713 GB, free: 12.48 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0007937/0.3123, allocations: 167.8 kB / 0.9714 GB, free: 12.32 MB / 0.9323 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.0004567/0.3128, allocations: 184 kB / 0.9716 GB, free: 12.13 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003769/0.3165, allocations: 1.061 MB / 0.9726 GB, free: 11 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.3165, allocations: 4.125 kB / 0.9726 GB, free: 11 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001692/0.3182, allocations: 321.1 kB / 0.9729 GB, free: 10.68 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006755/0.3189, allocations: 123.4 kB / 0.9731 GB, free: 10.56 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002096/0.321, allocations: 0.8475 MB / 0.9739 GB, free: 9.695 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.3213, allocations: 207.7 kB / 0.9741 GB, free: 9.477 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0003105/0.3216, allocations: 55.2 kB / 0.9741 GB, free: 9.422 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/0.3217, allocations: 44.47 kB / 0.9742 GB, free: 9.379 MB / 0.9323 GB Notification: Performance of SimCode: time 8.42e-07/0.3217, allocations: 0 / 0.9742 GB, free: 9.379 MB / 0.9323 GB Notification: Performance of Templates: time 0.02673/0.3484, allocations: 13.28 MB / 0.9871 GB, free: 12.24 MB / 0.948 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=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/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.426258368068375]