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.001851/0.001851, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.002581/0.002581, allocations: 219.1 kB / 22.99 MB, free: 4.914 MB / 14.72 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.536/1.536, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.36/3.36, allocations: 0.4892 GB / 0.7951 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002206/0.002206, allocations: 71.31 kB / 1.154 GB, free: 25.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.422/0.4242, allocations: 176.1 MB / 1.326 GB, free: 1.707 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.00498/0.4292, allocations: 2.811 MB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.2005/0.6297, allocations: 135 MB / 1.461 GB, free: 7.43 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000387/0.63, allocations: 7.938 kB / 1.461 GB, free: 7.422 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0003919/0.6304, allocations: 83.22 kB / 1.461 GB, free: 7.34 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0009501/0.6314, allocations: 286.1 kB / 1.461 GB, free: 7.059 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002943/0.6343, allocations: 1.025 MB / 1.462 GB, free: 6.043 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.00108/0.6354, allocations: 0.7836 MB / 1.463 GB, free: 5.258 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001787/0.6356, allocations: 62.17 kB / 1.463 GB, free: 5.191 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005397/0.6361, allocations: 335 kB / 1.463 GB, free: 4.863 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005474/0.6367, allocations: 298.8 kB / 1.464 GB, free: 4.57 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001118/0.6368, allocations: 60 kB / 1.464 GB, free: 4.512 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001678/0.6385, allocations: 0.7328 MB / 1.464 GB, free: 3.777 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.000163/0.6386, allocations: 159.5 kB / 1.465 GB, free: 3.621 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.000286/0.6389, allocations: 247 kB / 1.465 GB, free: 3.379 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001492/0.6404, allocations: 0.9811 MB / 1.466 GB, free: 2.395 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.6404, allocations: 3.938 kB / 1.466 GB, free: 2.391 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6404, allocations: 0 / 1.466 GB, free: 2.391 MB / 1.154 GB Notification: Performance of Transformations before backend: time 9.308e-06/0.6404, allocations: 4 kB / 1.466 GB, free: 2.387 MB / 1.154 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.002758/0.6432, allocations: 1.047 MB / 1.467 GB, free: 1.289 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.6432, allocations: 8.031 kB / 1.467 GB, free: 1.281 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003033/0.6463, allocations: 332 kB / 1.467 GB, free: 0.957 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007632/0.647, allocations: 351.2 kB / 1.467 GB, free: 0.5898 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/0.6471, allocations: 87.84 kB / 1.468 GB, free: 0.4922 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.6473, allocations: 43.98 kB / 1.468 GB, free: 460 kB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009643/0.6482, allocations: 372.1 kB / 1.468 GB, free: 64 kB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.6482, allocations: 4 kB / 1.468 GB, free: 60 kB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.795e-05/0.6483, allocations: 11.98 kB / 1.468 GB, free: 48 kB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.6483, allocations: 8 kB / 1.468 GB, free: 40 kB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007854/0.6491, allocations: 249.4 kB / 1.468 GB, free: 15.79 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004634/0.6537, allocations: 1.466 MB / 1.47 GB, free: 14.28 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008214/0.6545, allocations: 230.6 kB / 1.47 GB, free: 14.05 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004539/0.655, allocations: 152.7 kB / 1.47 GB, free: 13.89 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.655, allocations: 8 kB / 1.47 GB, free: 13.89 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008667/0.6559, allocations: 296.8 kB / 1.47 GB, free: 13.58 MB / 1.17 GB Notification: Performance of pre-optimization done (n=30): time 2.284e-06/0.6559, allocations: 0 / 1.47 GB, free: 13.58 MB / 1.17 GB Notification: Performance of matching and sorting (n=30): time 0.008489/0.6644, allocations: 1.369 MB / 1.472 GB, free: 12.2 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.978e-05/0.6644, allocations: 89.03 kB / 1.472 GB, free: 12.09 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007422/0.6652, allocations: 425.7 kB / 1.472 GB, free: 11.66 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.000166/0.6654, allocations: 45.7 kB / 1.472 GB, free: 11.61 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002421/0.6656, allocations: 209.6 kB / 1.472 GB, free: 11.4 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001276/0.6657, allocations: 99.22 kB / 1.472 GB, free: 11.3 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002731/0.666, allocations: 154.2 kB / 1.473 GB, free: 11.15 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001905/0.6662, allocations: 358.8 kB / 1.473 GB, free: 10.79 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008292/0.667, allocations: 324.5 kB / 1.473 GB, free: 10.46 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001214/0.6682, allocations: 0.6707 MB / 1.474 GB, free: 9.699 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008072/0.6763, allocations: 1.857 MB / 1.476 GB, free: 7.785 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.6763, allocations: 4 kB / 1.476 GB, free: 7.781 MB / 1.17 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.008176/0.6845, allocations: 1.65 MB / 1.477 GB, free: 6.086 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 8.788e-05/0.6846, allocations: 67.39 kB / 1.477 GB, free: 6.008 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.6846, allocations: 0 / 1.477 GB, free: 6.008 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001818/0.6864, allocations: 391.2 kB / 1.478 GB, free: 5.613 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006614/0.6871, allocations: 99.73 kB / 1.478 GB, free: 5.516 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007/0.6941, allocations: 4.422 MB / 1.482 GB, free: 0.8359 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/0.6952, allocations: 95.52 kB / 1.482 GB, free: 0.7422 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001843/0.6953, allocations: 40.36 kB / 1.482 GB, free: 0.7031 MB / 1.17 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.0004423/0.6958, allocations: 178.7 kB / 1.482 GB, free: 0.5195 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.6959, allocations: 43.91 kB / 1.483 GB, free: 488 kB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.045e-05/0.696, allocations: 39.34 kB / 1.483 GB, free: 444 kB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.513e-06/0.696, allocations: 7.984 kB / 1.483 GB, free: 436 kB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.696, allocations: 0 / 1.483 GB, free: 436 kB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.696, allocations: 0 / 1.483 GB, free: 436 kB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006193/0.6967, allocations: 349 kB / 1.483 GB, free: 56 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.6967, allocations: 7.984 kB / 1.483 GB, free: 48 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/0.6968, allocations: 31.86 kB / 1.483 GB, free: 16 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006647/0.6975, allocations: 225.5 kB / 1.483 GB, free: 15.79 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.224e-05/0.6976, allocations: 19.97 kB / 1.483 GB, free: 15.77 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002162/0.6997, allocations: 1.488 MB / 1.485 GB, free: 14.23 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.6997, allocations: 0 / 1.485 GB, free: 14.23 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006491/0.7062, allocations: 1.304 MB / 1.486 GB, free: 12.9 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002978/0.7065, allocations: 87.56 kB / 1.486 GB, free: 12.82 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.926e-05/0.7066, allocations: 11.94 kB / 1.486 GB, free: 12.8 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004801/0.7071, allocations: 39.95 kB / 1.486 GB, free: 12.77 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/0.7072, allocations: 35.94 kB / 1.486 GB, free: 12.73 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.962e-05/0.7073, allocations: 15.97 kB / 1.486 GB, free: 12.71 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0004197/0.7077, allocations: 287.1 kB / 1.486 GB, free: 12.44 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7077, allocations: 0 / 1.486 GB, free: 12.44 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0008062/0.7085, allocations: 163.8 kB / 1.487 GB, free: 12.28 MB / 1.186 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.0004182/0.7089, allocations: 175 kB / 1.487 GB, free: 12.1 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.003482/0.7124, allocations: 1.063 MB / 1.488 GB, free: 10.96 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.7124, allocations: 0 / 1.488 GB, free: 10.96 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.00147/0.7139, allocations: 312.2 kB / 1.488 GB, free: 10.66 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006278/0.7145, allocations: 109.3 kB / 1.488 GB, free: 10.55 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002056/0.7166, allocations: 0.936 MB / 1.489 GB, free: 9.594 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002073/0.7168, allocations: 199.8 kB / 1.489 GB, free: 9.375 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.7169, allocations: 43.41 kB / 1.489 GB, free: 9.332 MB / 1.186 GB Notification: Performance of SimCode: time 1.142e-06/0.7169, allocations: 0 / 1.489 GB, free: 9.332 MB / 1.186 GB Notification: Performance of Templates: time 0.01931/0.7362, allocations: 12.37 MB / 1.501 GB, free: 13 MB / 1.201 GB " [Timeout remaining time 299] 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/jenkins1/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: 14.40593140386045]