Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.579/1.579, allocations: 225.6 MB / 249.4 MB, free: 3.137 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.666/2.666, allocations: 443.5 MB / 0.7304 GB, free: 13.86 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 64.12 kB / 1.059 GB, free: 328 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4002/0.4022, allocations: 160.7 MB / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.005131/0.4073, allocations: 3.033 MB / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 1.03/1.438, allocations: 154 MB / 1.369 GB, free: 1.77 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004639/1.438, allocations: 2.406 kB / 1.369 GB, free: 1.77 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0004057/1.439, allocations: 90.06 kB / 1.37 GB, free: 1.715 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001192/1.44, allocations: 290.3 kB / 1.37 GB, free: 1.535 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003293/1.443, allocations: 1.029 MB / 1.371 GB, free: 1.023 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001336/1.444, allocations: 0.7838 MB / 1.372 GB, free: 0.6641 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001892/1.445, allocations: 62.69 kB / 1.372 GB, free: 0.6289 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004752/1.445, allocations: 328.1 kB / 1.372 GB, free: 0.4961 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006106/1.446, allocations: 338 kB / 1.372 GB, free: 360 kB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001246/1.446, allocations: 60.44 kB / 1.372 GB, free: 360 kB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002495/1.448, allocations: 0.8225 MB / 1.373 GB, free: 76 kB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002105/1.449, allocations: 154 kB / 1.373 GB, free: 15.98 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003838/1.449, allocations: 284 kB / 1.374 GB, free: 15.82 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001915/1.451, allocations: 0.9819 MB / 1.375 GB, free: 15.47 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/1.451, allocations: 1.125 kB / 1.375 GB, free: 15.47 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.082e-06/1.451, allocations: 0 / 1.375 GB, free: 15.47 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.152e-05/1.451, allocations: 0 / 1.375 GB, free: 15.47 MB / 1.061 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.002927/1.454, allocations: 1.079 MB / 1.376 GB, free: 14.75 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/1.454, allocations: 9.25 kB / 1.376 GB, free: 14.75 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002539/1.456, allocations: 265.8 kB / 1.376 GB, free: 14.71 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000756/1.457, allocations: 414.2 kB / 1.376 GB, free: 14.38 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000117/1.457, allocations: 103 kB / 1.376 GB, free: 14.3 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/1.457, allocations: 38.84 kB / 1.376 GB, free: 14.29 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008273/1.458, allocations: 364.5 kB / 1.377 GB, free: 14.12 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/1.458, allocations: 9.281 kB / 1.377 GB, free: 14.11 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.033e-05/1.458, allocations: 11.59 kB / 1.377 GB, free: 14.11 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/1.458, allocations: 4.438 kB / 1.377 GB, free: 14.11 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007337/1.459, allocations: 255.3 kB / 1.377 GB, free: 14.04 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004571/1.464, allocations: 1.679 MB / 1.379 GB, free: 13.05 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007873/1.464, allocations: 231.5 kB / 1.379 GB, free: 12.94 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004546/1.465, allocations: 149.1 kB / 1.379 GB, free: 12.86 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.484e-05/1.465, allocations: 6.062 kB / 1.379 GB, free: 12.86 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007192/1.466, allocations: 302.6 kB / 1.379 GB, free: 12.65 MB / 1.061 GB Notification: Performance of pre-optimization done (n=30): time 1.823e-06/1.466, allocations: 0 / 1.379 GB, free: 12.65 MB / 1.061 GB Notification: Performance of matching and sorting (n=30): time 0.008776/1.474, allocations: 1.49 MB / 1.381 GB, free: 11.81 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.829e-05/1.474, allocations: 90.06 kB / 1.381 GB, free: 11.71 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006969/1.475, allocations: 449 kB / 1.381 GB, free: 11.43 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001825/1.475, allocations: 42.92 kB / 1.381 GB, free: 11.38 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001998/1.475, allocations: 213.7 kB / 1.382 GB, free: 11.19 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/1.476, allocations: 99.72 kB / 1.382 GB, free: 11.11 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003371/1.476, allocations: 154.6 kB / 1.382 GB, free: 11.01 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001894/1.476, allocations: 356.9 kB / 1.382 GB, free: 10.66 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008302/1.477, allocations: 270 kB / 1.382 GB, free: 10.54 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/1.478, allocations: 423.1 kB / 1.383 GB, free: 10.28 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008261/1.486, allocations: 1.857 MB / 1.385 GB, free: 9.227 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.378e-06/1.486, allocations: 4.875 kB / 1.385 GB, free: 9.223 MB / 1.061 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.008026/1.494, allocations: 1.564 MB / 1.386 GB, free: 8.395 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 8.097e-05/1.494, allocations: 66.61 kB / 1.386 GB, free: 8.324 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/1.494, allocations: 2.156 kB / 1.386 GB, free: 8.324 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001901/1.496, allocations: 392.9 kB / 1.387 GB, free: 8.121 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006231/1.497, allocations: 95.17 kB / 1.387 GB, free: 8.09 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007157/1.504, allocations: 4.689 MB / 1.391 GB, free: 3.566 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/1.505, allocations: 109.7 kB / 1.391 GB, free: 3.496 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/1.505, allocations: 37.47 kB / 1.391 GB, free: 3.48 MB / 1.061 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.00036/1.506, allocations: 166.1 kB / 1.392 GB, free: 3.332 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/1.506, allocations: 47.2 kB / 1.392 GB, free: 3.305 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.63e-05/1.506, allocations: 44.64 kB / 1.392 GB, free: 3.273 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/1.506, allocations: 3.688 kB / 1.392 GB, free: 3.273 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/1.506, allocations: 0 / 1.392 GB, free: 3.273 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/1.506, allocations: 8.984 kB / 1.392 GB, free: 3.266 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006846/1.507, allocations: 477.8 kB / 1.392 GB, free: 2.859 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/1.507, allocations: 1.156 kB / 1.392 GB, free: 2.859 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001736/1.507, allocations: 24.66 kB / 1.392 GB, free: 2.852 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007145/1.508, allocations: 218.3 kB / 1.392 GB, free: 2.738 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.812e-05/1.508, allocations: 20.22 kB / 1.392 GB, free: 2.723 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002082/1.51, allocations: 1.487 MB / 1.394 GB, free: 1.371 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.51, allocations: 5.484 kB / 1.394 GB, free: 1.367 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006434/1.516, allocations: 1.285 MB / 1.395 GB, free: 0.6758 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003681/1.517, allocations: 171.9 kB / 1.395 GB, free: 0.5078 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.773e-05/1.517, allocations: 10.03 kB / 1.395 GB, free: 0.5 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004824/1.517, allocations: 36.05 kB / 1.395 GB, free: 496 kB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001692/1.517, allocations: 36.52 kB / 1.395 GB, free: 476 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-05/1.517, allocations: 19.44 kB / 1.395 GB, free: 464 kB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004466/1.518, allocations: 302.5 kB / 1.396 GB, free: 276 kB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.518, allocations: 1.375 kB / 1.396 GB, free: 276 kB / 1.061 GB Notification: Performance of remove unused functions: time 0.0008676/1.519, allocations: 161.2 kB / 1.396 GB, free: 248 kB / 1.061 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.0004069/1.519, allocations: 178.8 kB / 1.396 GB, free: 116 kB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.003568/1.523, allocations: 1.015 MB / 1.397 GB, free: 15.42 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/1.523, allocations: 4.125 kB / 1.397 GB, free: 15.41 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001586/1.524, allocations: 309.4 kB / 1.397 GB, free: 15.27 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008163/1.525, allocations: 117.1 kB / 1.397 GB, free: 15.19 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002187/1.527, allocations: 0.9201 MB / 1.398 GB, free: 14.57 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004795/1.528, allocations: 0.802 MB / 1.399 GB, free: 13.82 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003629/1.528, allocations: 60.58 kB / 1.399 GB, free: 13.79 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/1.528, allocations: 39.02 kB / 1.399 GB, free: 13.78 MB / 1.076 GB Notification: Performance of SimCode: time 1.763e-06/1.528, allocations: 0 / 1.399 GB, free: 13.78 MB / 1.076 GB Notification: Performance of Templates: time 0.02401/1.552, allocations: 12.57 MB / 1.411 GB, free: 7.062 MB / 1.076 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.424026395194232]