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.001456/0.001456, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001953/0.001953, allocations: 187.6 kB / 22.22 MB, free: 5.102 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.452/1.452, allocations: 225.6 MB / 251 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.614/2.614, allocations: 443.4 MB / 0.7321 GB, free: 12.32 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.001983/0.001983, allocations: 55.91 kB / 1.061 GB, free: 3 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.099/1.101, allocations: 160.8 MB / 1.218 GB, free: 3.781 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.006087/1.107, allocations: 3.029 MB / 1.221 GB, free: 1.406 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.2181/1.325, allocations: 154 MB / 1.372 GB, free: 9.684 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006175/1.326, allocations: 0 / 1.372 GB, free: 9.684 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005614/1.327, allocations: 99.19 kB / 1.372 GB, free: 9.586 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001667/1.328, allocations: 286 kB / 1.372 GB, free: 9.305 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003549/1.332, allocations: 1.029 MB / 1.373 GB, free: 8.285 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001633/1.333, allocations: 0.7836 MB / 1.374 GB, free: 7.5 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003733/1.334, allocations: 68.77 kB / 1.374 GB, free: 7.434 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000957/1.335, allocations: 327 kB / 1.374 GB, free: 7.113 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009011/1.336, allocations: 346.8 kB / 1.375 GB, free: 6.773 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002757/1.336, allocations: 60 kB / 1.375 GB, free: 6.715 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002394/1.338, allocations: 0.8225 MB / 1.376 GB, free: 5.891 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002752/1.339, allocations: 151.6 kB / 1.376 GB, free: 5.742 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006774/1.339, allocations: 294.6 kB / 1.376 GB, free: 5.453 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002881/1.342, allocations: 0.9718 MB / 1.377 GB, free: 4.484 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 1.219e-05/1.342, allocations: 8 kB / 1.377 GB, free: 4.477 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.715e-06/1.342, allocations: 0 / 1.377 GB, free: 4.477 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.123e-05/1.342, allocations: 0 / 1.377 GB, free: 4.477 MB / 1.076 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.004065/1.346, allocations: 1.128 MB / 1.378 GB, free: 3.281 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/1.346, allocations: 12.03 kB / 1.378 GB, free: 3.27 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002835/1.349, allocations: 264.1 kB / 1.378 GB, free: 3.012 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/1.35, allocations: 401.1 kB / 1.379 GB, free: 2.582 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001454/1.35, allocations: 99.83 kB / 1.379 GB, free: 2.473 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/1.351, allocations: 40 kB / 1.379 GB, free: 2.434 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009599/1.352, allocations: 368.2 kB / 1.379 GB, free: 2.055 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/1.352, allocations: 4 kB / 1.379 GB, free: 2.051 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.251e-05/1.352, allocations: 15.98 kB / 1.379 GB, free: 2.035 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/1.352, allocations: 4 kB / 1.379 GB, free: 2.031 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008488/1.352, allocations: 257.4 kB / 1.379 GB, free: 1.777 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005294/1.358, allocations: 1.689 MB / 1.381 GB, free: 24 kB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008449/1.359, allocations: 238 kB / 1.381 GB, free: 15.79 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004874/1.359, allocations: 148.8 kB / 1.381 GB, free: 15.64 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 4.402e-05/1.359, allocations: 4 kB / 1.381 GB, free: 15.63 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008017/1.36, allocations: 300.8 kB / 1.382 GB, free: 15.32 MB / 1.092 GB Notification: Performance of pre-optimization done (n=30): time 2.024e-06/1.36, allocations: 0 / 1.382 GB, free: 15.32 MB / 1.092 GB Notification: Performance of matching and sorting (n=30): time 0.00886/1.369, allocations: 1.494 MB / 1.383 GB, free: 13.78 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.328e-05/1.369, allocations: 85.11 kB / 1.383 GB, free: 13.68 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009337/1.37, allocations: 461.7 kB / 1.384 GB, free: 13.21 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001955/1.37, allocations: 41.7 kB / 1.384 GB, free: 13.16 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004345/1.37, allocations: 205.1 kB / 1.384 GB, free: 12.96 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002704/1.371, allocations: 99.16 kB / 1.384 GB, free: 12.86 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003972/1.371, allocations: 154.2 kB / 1.384 GB, free: 12.7 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0003227/1.371, allocations: 358.8 kB / 1.385 GB, free: 12.34 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001002/1.372, allocations: 269.2 kB / 1.385 GB, free: 12.08 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/1.373, allocations: 425.8 kB / 1.385 GB, free: 11.64 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00821/1.382, allocations: 1.874 MB / 1.387 GB, free: 9.711 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.064e-06/1.382, allocations: 0 / 1.387 GB, free: 9.711 MB / 1.092 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007994/1.39, allocations: 1.561 MB / 1.389 GB, free: 8.117 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 8.84e-05/1.39, allocations: 67.52 kB / 1.389 GB, free: 8.039 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/1.39, allocations: 4 kB / 1.389 GB, free: 8.035 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001897/1.392, allocations: 391 kB / 1.389 GB, free: 7.641 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00063/1.392, allocations: 95.8 kB / 1.389 GB, free: 7.547 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006784/1.399, allocations: 4.674 MB / 1.394 GB, free: 2.531 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/1.4, allocations: 99.47 kB / 1.394 GB, free: 2.434 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002062/1.4, allocations: 39.95 kB / 1.394 GB, free: 2.395 MB / 1.092 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.0004265/1.401, allocations: 181.6 kB / 1.394 GB, free: 2.207 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002309/1.401, allocations: 51.66 kB / 1.394 GB, free: 2.156 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/1.401, allocations: 47.52 kB / 1.394 GB, free: 2.109 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/1.401, allocations: 4 kB / 1.394 GB, free: 2.105 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/1.401, allocations: 3.938 kB / 1.394 GB, free: 2.102 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/1.401, allocations: 4 kB / 1.394 GB, free: 2.098 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007222/1.402, allocations: 473.3 kB / 1.394 GB, free: 1.586 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/1.402, allocations: 3.984 kB / 1.394 GB, free: 1.582 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/1.402, allocations: 19.98 kB / 1.395 GB, free: 1.562 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000655/1.403, allocations: 229.5 kB / 1.395 GB, free: 1.332 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.285e-05/1.403, allocations: 15.98 kB / 1.395 GB, free: 1.316 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002314/1.405, allocations: 1.492 MB / 1.396 GB, free: 15.77 MB / 1.108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/1.405, allocations: 0 / 1.396 GB, free: 15.77 MB / 1.108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00645/1.412, allocations: 1.279 MB / 1.397 GB, free: 14.47 MB / 1.108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003288/1.412, allocations: 164.7 kB / 1.398 GB, free: 14.29 MB / 1.108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/1.412, allocations: 15.98 kB / 1.398 GB, free: 14.27 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005108/1.413, allocations: 35.95 kB / 1.398 GB, free: 14.24 MB / 1.108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/1.413, allocations: 43.94 kB / 1.398 GB, free: 14.2 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.501e-05/1.413, allocations: 15.98 kB / 1.398 GB, free: 14.18 MB / 1.108 GB Notification: Performance of sorting global known variables: time 0.0004478/1.413, allocations: 299.1 kB / 1.398 GB, free: 13.89 MB / 1.108 GB Notification: Performance of sort global known variables: time 1.4e-07/1.413, allocations: 4 kB / 1.398 GB, free: 13.89 MB / 1.108 GB Notification: Performance of remove unused functions: time 0.0008585/1.414, allocations: 163.8 kB / 1.398 GB, free: 13.73 MB / 1.108 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.0004108/1.415, allocations: 177.2 kB / 1.398 GB, free: 13.55 MB / 1.108 GB Notification: Performance of simCode: created initialization part: time 0.003519/1.418, allocations: 1.002 MB / 1.399 GB, free: 12.5 MB / 1.108 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/1.418, allocations: 4.125 kB / 1.399 GB, free: 12.49 MB / 1.108 GB Notification: Performance of simCode: created simulation system equations: time 0.001519/1.42, allocations: 317.3 kB / 1.4 GB, free: 12.18 MB / 1.108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000809/1.42, allocations: 109.8 kB / 1.4 GB, free: 12.07 MB / 1.108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/1.422, allocations: 0.8946 MB / 1.401 GB, free: 11.15 MB / 1.108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004953/1.423, allocations: 0.8074 MB / 1.401 GB, free: 10.31 MB / 1.108 GB Notification: Performance of simCode: alias equations: time 0.0003546/1.423, allocations: 51.28 kB / 1.401 GB, free: 10.26 MB / 1.108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/1.423, allocations: 43.41 kB / 1.401 GB, free: 10.22 MB / 1.108 GB Notification: Performance of SimCode: time 1.202e-06/1.423, allocations: 0 / 1.401 GB, free: 10.22 MB / 1.108 GB Notification: Performance of Templates: time 0.02511/1.449, allocations: 12.69 MB / 1.414 GB, free: 13.63 MB / 1.123 GB " [Timeout remaining time 299] 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.096856644377112]