Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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=5000,variableFilter="time|evaSho.m|evaNor.m|evaSho.mEva_flow|evaNor.mEva_flow|intSho.y|intNor.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|evaSho.m|evaNor.m|evaSho.mEva_flow|evaNor.mEva_flow|intSho.y|intNor.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 105 kB / 16.41 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001803/0.001804, allocations: 187 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 222.9 MB / 241 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.722/2.722, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 67.89 kB / 1.055 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9856/0.9871, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.005207/0.9924, allocations: 2.996 MB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1948/1.187, allocations: 153.4 MB / 1.361 GB, free: 0.5703 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000491/1.188, allocations: 0 / 1.361 GB, free: 0.5703 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0004999/1.188, allocations: 91.2 kB / 1.361 GB, free: 492 kB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001186/1.19, allocations: 274.1 kB / 1.362 GB, free: 216 kB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003294/1.193, allocations: 1.012 MB / 1.363 GB, free: 15.21 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001411/1.194, allocations: 0.7915 MB / 1.363 GB, free: 14.41 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002523/1.195, allocations: 86.03 kB / 1.363 GB, free: 14.33 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007496/1.195, allocations: 327 kB / 1.364 GB, free: 14.01 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008169/1.196, allocations: 334.8 kB / 1.364 GB, free: 13.68 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002272/1.196, allocations: 60 kB / 1.364 GB, free: 13.62 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002194/1.199, allocations: 0.7836 MB / 1.365 GB, free: 12.84 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002488/1.199, allocations: 151.6 kB / 1.365 GB, free: 12.69 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0005069/1.199, allocations: 294.6 kB / 1.365 GB, free: 12.4 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002077/1.201, allocations: 0.9719 MB / 1.366 GB, free: 11.43 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/1.201, allocations: 4 kB / 1.366 GB, free: 11.42 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.574e-06/1.201, allocations: 3.938 kB / 1.366 GB, free: 11.42 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.363e-05/1.201, allocations: 0 / 1.366 GB, free: 11.42 MB / 1.092 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.003472/1.205, allocations: 1.055 MB / 1.367 GB, free: 10.3 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/1.205, allocations: 12.03 kB / 1.367 GB, free: 10.29 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002757/1.208, allocations: 267.8 kB / 1.368 GB, free: 10.03 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009101/1.209, allocations: 404.8 kB / 1.368 GB, free: 9.59 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/1.209, allocations: 95.83 kB / 1.368 GB, free: 9.484 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/1.209, allocations: 40 kB / 1.368 GB, free: 9.445 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008979/1.21, allocations: 368.2 kB / 1.368 GB, free: 9.066 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/1.21, allocations: 4 kB / 1.368 GB, free: 9.062 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.265e-05/1.21, allocations: 8 kB / 1.368 GB, free: 9.055 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/1.21, allocations: 8 kB / 1.368 GB, free: 9.047 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007908/1.211, allocations: 257.4 kB / 1.369 GB, free: 8.793 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00491/1.216, allocations: 1.669 MB / 1.37 GB, free: 7.059 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008503/1.217, allocations: 258.5 kB / 1.371 GB, free: 6.797 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005037/1.217, allocations: 164.8 kB / 1.371 GB, free: 6.633 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 4.055e-05/1.217, allocations: 7.938 kB / 1.371 GB, free: 6.625 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007786/1.218, allocations: 298.1 kB / 1.371 GB, free: 6.316 MB / 1.092 GB Notification: Performance of pre-optimization done (n=30): time 4.398e-06/1.218, allocations: 0 / 1.371 GB, free: 6.316 MB / 1.092 GB Notification: Performance of matching and sorting (n=30): time 0.008774/1.227, allocations: 1.498 MB / 1.372 GB, free: 4.77 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.359e-05/1.227, allocations: 85.11 kB / 1.373 GB, free: 4.668 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007298/1.228, allocations: 453.7 kB / 1.373 GB, free: 4.215 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001865/1.228, allocations: 45.69 kB / 1.373 GB, free: 4.164 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002565/1.228, allocations: 196.9 kB / 1.373 GB, free: 3.969 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/1.228, allocations: 94.66 kB / 1.373 GB, free: 3.875 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003577/1.229, allocations: 154.2 kB / 1.373 GB, free: 3.715 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001713/1.229, allocations: 358.8 kB / 1.374 GB, free: 3.355 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008339/1.23, allocations: 273.1 kB / 1.374 GB, free: 3.09 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001094/1.231, allocations: 425.7 kB / 1.374 GB, free: 2.645 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008156/1.239, allocations: 1.854 MB / 1.376 GB, free: 0.7305 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-06/1.239, allocations: 0 / 1.376 GB, free: 0.7305 MB / 1.092 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.008112/1.247, allocations: 1.58 MB / 1.378 GB, free: 15.12 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 6.489e-05/1.247, allocations: 61.12 kB / 1.378 GB, free: 15.05 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/1.247, allocations: 4 kB / 1.378 GB, free: 15.04 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00181/1.249, allocations: 395.1 kB / 1.378 GB, free: 14.64 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005802/1.25, allocations: 95.8 kB / 1.378 GB, free: 14.55 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006305/1.256, allocations: 4.679 MB / 1.383 GB, free: 9.539 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/1.257, allocations: 115.1 kB / 1.383 GB, free: 9.426 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001551/1.257, allocations: 35.95 kB / 1.383 GB, free: 9.391 MB / 1.107 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.0004181/1.258, allocations: 169.1 kB / 1.383 GB, free: 9.219 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/1.258, allocations: 43.44 kB / 1.383 GB, free: 9.176 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/1.258, allocations: 47.56 kB / 1.383 GB, free: 9.129 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/1.258, allocations: 0 / 1.383 GB, free: 9.129 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/1.258, allocations: 7.938 kB / 1.383 GB, free: 9.121 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/1.258, allocations: 3.984 kB / 1.383 GB, free: 9.117 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006238/1.259, allocations: 473.1 kB / 1.384 GB, free: 8.605 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/1.259, allocations: 0 / 1.384 GB, free: 8.605 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001808/1.259, allocations: 31.91 kB / 1.384 GB, free: 8.574 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006665/1.259, allocations: 229.5 kB / 1.384 GB, free: 8.344 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.357e-05/1.259, allocations: 11.98 kB / 1.384 GB, free: 8.332 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001891/1.261, allocations: 1.489 MB / 1.385 GB, free: 6.797 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/1.261, allocations: 4.172 kB / 1.385 GB, free: 6.793 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00628/1.268, allocations: 1.287 MB / 1.387 GB, free: 5.477 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002619/1.268, allocations: 156.5 kB / 1.387 GB, free: 5.305 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/1.268, allocations: 8 kB / 1.387 GB, free: 5.297 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005108/1.269, allocations: 35.95 kB / 1.387 GB, free: 5.262 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/1.269, allocations: 47.94 kB / 1.387 GB, free: 5.215 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.367e-05/1.269, allocations: 15.98 kB / 1.387 GB, free: 5.199 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0004577/1.269, allocations: 307.1 kB / 1.387 GB, free: 4.902 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.2e-07/1.269, allocations: 0 / 1.387 GB, free: 4.902 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0007652/1.27, allocations: 167.8 kB / 1.387 GB, free: 4.738 MB / 1.107 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.0003782/1.27, allocations: 160.7 kB / 1.388 GB, free: 4.574 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.00347/1.274, allocations: 1.044 MB / 1.389 GB, free: 3.473 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/1.274, allocations: 0 / 1.389 GB, free: 3.473 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001547/1.275, allocations: 335.2 kB / 1.389 GB, free: 3.141 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006773/1.276, allocations: 111.7 kB / 1.389 GB, free: 3.031 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/1.278, allocations: 0.9287 MB / 1.39 GB, free: 2.082 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003994/1.278, allocations: 0.8035 MB / 1.391 GB, free: 1.254 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001699/1.279, allocations: 43.41 kB / 1.391 GB, free: 1.211 MB / 1.107 GB Notification: Performance of SimCode: time 4.01e-07/1.279, allocations: 0 / 1.391 GB, free: 1.211 MB / 1.107 GB Notification: Performance of Templates: time 0.0173/1.296, allocations: 12.23 MB / 1.403 GB, free: 5.012 MB / 1.123 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches