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.001675/0.001675, allocations: 117.6 kB / 17.13 MB, free: 5.941 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.001878/0.001878, allocations: 197.2 kB / 20.08 MB, free: 3.008 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.637/1.637, allocations: 225.6 MB / 248.5 MB, free: 3.613 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.635/2.635, allocations: 443.5 MB / 0.7293 GB, free: 14.5 MB / 0.5762 GB " [Timeout remaining time 177] 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.001959/0.001959, allocations: 63.91 kB / 1.057 GB, free: 1.953 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3486, allocations: 160.7 MB / 1.214 GB, free: 0.9258 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.004876/0.3535, allocations: 3.025 MB / 1.217 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.9209/1.274, allocations: 153.9 MB / 1.367 GB, free: 2.98 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000364/1.275, allocations: 6.688 kB / 1.367 GB, free: 2.977 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0003827/1.275, allocations: 82.91 kB / 1.367 GB, free: 2.926 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000993/1.276, allocations: 292.1 kB / 1.368 GB, free: 2.746 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002861/1.279, allocations: 1.025 MB / 1.369 GB, free: 2.234 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001026/1.28, allocations: 0.7854 MB / 1.369 GB, free: 1.871 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001692/1.28, allocations: 63.25 kB / 1.37 GB, free: 1.836 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004372/1.281, allocations: 324.9 kB / 1.37 GB, free: 1.707 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005054/1.281, allocations: 341.3 kB / 1.37 GB, free: 1.559 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001066/1.281, allocations: 60.62 kB / 1.37 GB, free: 1.559 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001708/1.283, allocations: 0.8218 MB / 1.371 GB, free: 1.285 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001721/1.283, allocations: 156 kB / 1.371 GB, free: 1.191 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0003301/1.283, allocations: 285.6 kB / 1.371 GB, free: 1.031 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00141/1.285, allocations: 0.9716 MB / 1.372 GB, free: 0.6875 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/1.285, allocations: 1.5 kB / 1.372 GB, free: 0.6875 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.004e-06/1.285, allocations: 0 / 1.372 GB, free: 0.6875 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.889e-06/1.285, allocations: 6 kB / 1.372 GB, free: 0.6836 MB / 1.045 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.002872/1.288, allocations: 1.081 MB / 1.373 GB, free: 15.95 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/1.288, allocations: 18.08 kB / 1.373 GB, free: 15.94 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002497/1.29, allocations: 261.3 kB / 1.374 GB, free: 15.91 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000712/1.291, allocations: 415.4 kB / 1.374 GB, free: 15.59 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/1.291, allocations: 89.92 kB / 1.374 GB, free: 15.51 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/1.291, allocations: 42.34 kB / 1.374 GB, free: 15.5 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008737/1.292, allocations: 373.7 kB / 1.375 GB, free: 15.32 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/1.292, allocations: 1.312 kB / 1.375 GB, free: 15.32 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.918e-05/1.292, allocations: 6.469 kB / 1.375 GB, free: 15.32 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/1.292, allocations: 5.688 kB / 1.375 GB, free: 15.32 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000774/1.293, allocations: 257.5 kB / 1.375 GB, free: 15.25 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004576/1.297, allocations: 1.68 MB / 1.376 GB, free: 14.26 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008111/1.298, allocations: 239.2 kB / 1.377 GB, free: 14.17 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000479/1.299, allocations: 145.9 kB / 1.377 GB, free: 14.12 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.517e-05/1.299, allocations: 3.031 kB / 1.377 GB, free: 14.12 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007484/1.3, allocations: 308.7 kB / 1.377 GB, free: 13.97 MB / 1.061 GB Notification: Performance of pre-optimization done (n=30): time 2.395e-06/1.3, allocations: 0 / 1.377 GB, free: 13.97 MB / 1.061 GB Notification: Performance of matching and sorting (n=30): time 0.008626/1.308, allocations: 1.497 MB / 1.379 GB, free: 13.13 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.55e-05/1.308, allocations: 82.61 kB / 1.379 GB, free: 13.04 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000681/1.309, allocations: 452.8 kB / 1.379 GB, free: 12.75 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001494/1.309, allocations: 42.98 kB / 1.379 GB, free: 12.7 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000206/1.309, allocations: 202.2 kB / 1.379 GB, free: 12.52 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/1.309, allocations: 103.3 kB / 1.379 GB, free: 12.43 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003165/1.31, allocations: 158.5 kB / 1.38 GB, free: 12.34 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001842/1.31, allocations: 356.8 kB / 1.38 GB, free: 11.99 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008557/1.311, allocations: 270.9 kB / 1.38 GB, free: 11.86 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/1.312, allocations: 418 kB / 1.381 GB, free: 11.61 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008037/1.32, allocations: 1.849 MB / 1.382 GB, free: 10.56 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.697e-05/1.32, allocations: 13.62 kB / 1.382 GB, free: 10.55 MB / 1.061 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007856/1.328, allocations: 1.566 MB / 1.384 GB, free: 9.719 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 8.014e-05/1.328, allocations: 58.94 kB / 1.384 GB, free: 9.656 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/1.328, allocations: 2.156 kB / 1.384 GB, free: 9.656 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001876/1.33, allocations: 405 kB / 1.384 GB, free: 9.441 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005666/1.33, allocations: 91.22 kB / 1.384 GB, free: 9.414 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00665/1.337, allocations: 4.687 MB / 1.389 GB, free: 4.898 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/1.338, allocations: 109.5 kB / 1.389 GB, free: 4.828 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001471/1.338, allocations: 37.83 kB / 1.389 GB, free: 4.812 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.0003892/1.339, allocations: 167.2 kB / 1.389 GB, free: 4.664 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/1.339, allocations: 47.48 kB / 1.389 GB, free: 4.637 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/1.339, allocations: 43.48 kB / 1.389 GB, free: 4.605 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/1.339, allocations: 4.625 kB / 1.389 GB, free: 4.605 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/1.339, allocations: 3.984 kB / 1.389 GB, free: 4.602 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/1.339, allocations: 9.062 kB / 1.389 GB, free: 4.594 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007084/1.34, allocations: 469.6 kB / 1.39 GB, free: 4.195 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/1.34, allocations: 4 kB / 1.39 GB, free: 4.191 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/1.34, allocations: 33.62 kB / 1.39 GB, free: 4.176 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006764/1.34, allocations: 222.4 kB / 1.39 GB, free: 4.059 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.661e-05/1.34, allocations: 12.36 kB / 1.39 GB, free: 4.051 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00209/1.343, allocations: 1.495 MB / 1.392 GB, free: 2.691 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/1.343, allocations: 0 / 1.392 GB, free: 2.691 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006637/1.349, allocations: 1.279 MB / 1.393 GB, free: 2.008 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002986/1.35, allocations: 166.6 kB / 1.393 GB, free: 1.844 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/1.35, allocations: 7.594 kB / 1.393 GB, free: 1.84 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005251/1.35, allocations: 40.42 kB / 1.393 GB, free: 1.82 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001454/1.35, allocations: 39.16 kB / 1.393 GB, free: 1.797 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.189e-05/1.35, allocations: 16.3 kB / 1.393 GB, free: 1.789 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004186/1.351, allocations: 302.6 kB / 1.393 GB, free: 1.605 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.351, allocations: 0 / 1.393 GB, free: 1.605 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007985/1.352, allocations: 157.2 kB / 1.394 GB, free: 1.582 MB / 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.0003797/1.352, allocations: 189.6 kB / 1.394 GB, free: 1.445 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.003511/1.355, allocations: 1.01 MB / 1.395 GB, free: 0.7539 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/1.355, allocations: 1.312 kB / 1.395 GB, free: 0.7539 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001603/1.357, allocations: 305.5 kB / 1.395 GB, free: 0.6055 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006874/1.358, allocations: 120.8 kB / 1.395 GB, free: 0.5273 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002029/1.36, allocations: 0.9336 MB / 1.396 GB, free: 15.88 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005338/1.36, allocations: 0.8114 MB / 1.397 GB, free: 15.12 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/1.36, allocations: 39.52 kB / 1.397 GB, free: 15.1 MB / 1.076 GB Notification: Performance of SimCode: time 5.31e-07/1.36, allocations: 0 / 1.397 GB, free: 15.1 MB / 1.076 GB Notification: Performance of Templates: time 0.01826/1.379, allocations: 12.25 MB / 1.409 GB, free: 8.578 MB / 1.076 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 13.843284289818257]