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.008267/0.008267, allocations: 103.3 kB / 15.73 MB, free: 6.055 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.00126/0.00126, allocations: 194.8 kB / 16.68 MB, free: 5.965 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.456/1.456, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.603/2.603, allocations: 461.9 MB / 0.7347 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 64.12 kB / 1.054 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9453/0.9466, 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.004767/0.9514, allocations: 2.984 MB / 1.211 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.188/1.139, allocations: 153.4 MB / 1.361 GB, free: 0.5781 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004443/1.14, allocations: 0 / 1.361 GB, free: 0.5781 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0004023/1.14, allocations: 95.19 kB / 1.361 GB, free: 496 kB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0009978/1.141, allocations: 290 kB / 1.361 GB, free: 204 kB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002799/1.144, allocations: 1.016 MB / 1.362 GB, free: 15.19 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001163/1.145, allocations: 0.7914 MB / 1.363 GB, free: 14.4 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002379/1.146, allocations: 88.16 kB / 1.363 GB, free: 14.31 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004678/1.146, allocations: 331 kB / 1.363 GB, free: 13.99 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005072/1.147, allocations: 334.8 kB / 1.363 GB, free: 13.66 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 9.452e-05/1.147, allocations: 60 kB / 1.363 GB, free: 13.6 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001887/1.149, allocations: 0.7914 MB / 1.364 GB, free: 12.81 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001742/1.149, allocations: 151.6 kB / 1.364 GB, free: 12.66 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0002968/1.149, allocations: 290.7 kB / 1.365 GB, free: 12.38 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001439/1.151, allocations: 0.9679 MB / 1.366 GB, free: 11.41 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/1.151, allocations: 0 / 1.366 GB, free: 11.41 MB / 1.092 GB Notification: Performance of FrontEnd: time 4.438e-06/1.151, allocations: 4 kB / 1.366 GB, free: 11.4 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.386e-05/1.151, allocations: 7.938 kB / 1.366 GB, free: 11.39 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.00278/1.153, allocations: 1.051 MB / 1.367 GB, free: 10.28 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/1.154, allocations: 8.031 kB / 1.367 GB, free: 10.27 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002517/1.156, allocations: 271.8 kB / 1.367 GB, free: 10.01 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008057/1.157, allocations: 416.8 kB / 1.367 GB, free: 9.559 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00012/1.157, allocations: 91.83 kB / 1.367 GB, free: 9.457 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/1.157, allocations: 40 kB / 1.367 GB, free: 9.418 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008709/1.158, allocations: 364.2 kB / 1.368 GB, free: 9.039 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/1.158, allocations: 3.938 kB / 1.368 GB, free: 9.035 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.99e-05/1.158, allocations: 12 kB / 1.368 GB, free: 9.023 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/1.158, allocations: 8 kB / 1.368 GB, free: 9.016 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007384/1.159, allocations: 253.4 kB / 1.368 GB, free: 8.766 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004544/1.163, allocations: 1.681 MB / 1.37 GB, free: 7.02 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008158/1.164, allocations: 258.5 kB / 1.37 GB, free: 6.758 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004573/1.165, allocations: 156.8 kB / 1.37 GB, free: 6.602 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 3.358e-05/1.165, allocations: 7.938 kB / 1.37 GB, free: 6.594 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007356/1.165, allocations: 298 kB / 1.37 GB, free: 6.285 MB / 1.092 GB Notification: Performance of pre-optimization done (n=30): time 2.284e-06/1.165, allocations: 0 / 1.37 GB, free: 6.285 MB / 1.092 GB Notification: Performance of matching and sorting (n=30): time 0.008402/1.174, allocations: 1.501 MB / 1.372 GB, free: 4.734 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.821e-05/1.174, allocations: 81.11 kB / 1.372 GB, free: 4.637 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006735/1.175, allocations: 453.7 kB / 1.372 GB, free: 4.184 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001879/1.175, allocations: 45.7 kB / 1.372 GB, free: 4.133 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001879/1.175, allocations: 200.9 kB / 1.373 GB, free: 3.934 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 9.905e-05/1.175, allocations: 98.58 kB / 1.373 GB, free: 3.836 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003014/1.176, allocations: 158.2 kB / 1.373 GB, free: 3.672 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001577/1.176, allocations: 354.7 kB / 1.373 GB, free: 3.316 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008045/1.176, allocations: 277.1 kB / 1.373 GB, free: 3.047 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009718/1.177, allocations: 417.8 kB / 1.374 GB, free: 2.609 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008015/1.185, allocations: 1.859 MB / 1.376 GB, free: 0.6914 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/1.186, allocations: 0 / 1.376 GB, free: 0.6914 MB / 1.092 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007852/1.193, allocations: 1.572 MB / 1.377 GB, free: 15.09 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 8.002e-05/1.194, allocations: 63.34 kB / 1.377 GB, free: 15.01 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/1.194, allocations: 7.938 kB / 1.377 GB, free: 15 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001868/1.195, allocations: 399.1 kB / 1.378 GB, free: 14.6 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006659/1.196, allocations: 91.86 kB / 1.378 GB, free: 14.51 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006294/1.202, allocations: 4.677 MB / 1.382 GB, free: 9.504 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/1.204, allocations: 107.2 kB / 1.382 GB, free: 9.398 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.303e-05/1.204, allocations: 39.95 kB / 1.382 GB, free: 9.359 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.0003585/1.204, allocations: 173.7 kB / 1.383 GB, free: 9.184 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.149e-05/1.204, allocations: 47.44 kB / 1.383 GB, free: 9.137 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.43e-05/1.204, allocations: 39.58 kB / 1.383 GB, free: 9.098 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.876e-05/1.204, allocations: 11.92 kB / 1.383 GB, free: 9.086 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/1.204, allocations: 7.938 kB / 1.383 GB, free: 9.078 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/1.204, allocations: 0 / 1.383 GB, free: 9.078 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006234/1.205, allocations: 469.2 kB / 1.383 GB, free: 8.57 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/1.205, allocations: 0 / 1.383 GB, free: 8.57 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001833/1.205, allocations: 27.91 kB / 1.383 GB, free: 8.543 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006393/1.206, allocations: 237.6 kB / 1.383 GB, free: 8.305 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.503e-05/1.206, allocations: 7.984 kB / 1.383 GB, free: 8.297 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001924/1.208, allocations: 1.493 MB / 1.385 GB, free: 6.758 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.208, allocations: 0 / 1.385 GB, free: 6.758 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006428/1.214, allocations: 1.283 MB / 1.386 GB, free: 5.445 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003003/1.215, allocations: 156.5 kB / 1.386 GB, free: 5.273 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.981e-05/1.215, allocations: 15.94 kB / 1.386 GB, free: 5.258 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004899/1.215, allocations: 35.95 kB / 1.386 GB, free: 5.223 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/1.215, allocations: 39.94 kB / 1.386 GB, free: 5.184 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.648e-05/1.215, allocations: 15.98 kB / 1.386 GB, free: 5.168 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0004156/1.216, allocations: 303.1 kB / 1.387 GB, free: 4.875 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.4e-07/1.216, allocations: 0 / 1.387 GB, free: 4.875 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0007387/1.217, allocations: 163.8 kB / 1.387 GB, free: 4.715 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.0004016/1.217, allocations: 184.4 kB / 1.387 GB, free: 4.527 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.003337/1.22, allocations: 1.04 MB / 1.388 GB, free: 3.43 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/1.22, allocations: 0 / 1.388 GB, free: 3.43 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001548/1.222, allocations: 340.2 kB / 1.388 GB, free: 3.094 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007345/1.223, allocations: 103.9 kB / 1.388 GB, free: 2.992 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001886/1.225, allocations: 0.9031 MB / 1.389 GB, free: 2.074 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004236/1.225, allocations: 0.8113 MB / 1.39 GB, free: 1.238 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0003306/1.225, allocations: 47.3 kB / 1.39 GB, free: 1.191 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/1.225, allocations: 39.42 kB / 1.39 GB, free: 1.152 MB / 1.107 GB Notification: Performance of SimCode: time 7.81e-07/1.225, allocations: 0 / 1.39 GB, free: 1.152 MB / 1.107 GB Notification: Performance of Templates: time 0.02098/1.246, allocations: 12.34 MB / 1.402 GB, free: 4.902 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/jenkins/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