Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.HeatExchangers.DXCoils.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_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.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_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.419/1.419, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.383/2.383, allocations: 390.2 MB / 0.6647 GB, free: 248 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00224/0.00224, allocations: 63.91 kB / 0.8125 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6099/0.6122, allocations: 140.4 MB / 0.9496 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse): time 0.004427/0.6167, allocations: 3.02 MB / 0.9525 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1708/0.7875, allocations: 153.4 MB / 1.102 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003144/0.7879, allocations: 7.938 kB / 1.102 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003432/0.7882, allocations: 91.25 kB / 1.102 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0008688/0.7891, allocations: 282 kB / 1.103 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002273/0.7914, allocations: 1.001 MB / 1.104 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007986/0.7922, allocations: 0.7798 MB / 1.104 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001885/0.7924, allocations: 97.97 kB / 1.105 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003387/0.7928, allocations: 315 kB / 1.105 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004979/0.7933, allocations: 334.8 kB / 1.105 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.7934, allocations: 60 kB / 1.105 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001537/0.7949, allocations: 0.7797 MB / 1.106 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001473/0.7951, allocations: 155.6 kB / 1.106 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003013/0.7954, allocations: 294.7 kB / 1.106 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00127/0.7967, allocations: 0.9544 MB / 1.107 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.7967, allocations: 0 / 1.107 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.213e-06/0.7967, allocations: 0 / 1.107 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.7967, allocations: 0 / 1.107 GB, free: 15.75 MB / 0.8731 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.00261/0.7993, allocations: 1.059 MB / 1.108 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.7994, allocations: 12.03 kB / 1.108 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002605/0.802, allocations: 263.3 kB / 1.109 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005667/0.8026, allocations: 404.9 kB / 1.109 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/0.8027, allocations: 91.84 kB / 1.109 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.8028, allocations: 36 kB / 1.109 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008186/0.8036, allocations: 380.2 kB / 1.11 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.8037, allocations: 0 / 1.11 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.003e-05/0.8037, allocations: 11.94 kB / 1.11 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.8037, allocations: 4 kB / 1.11 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007625/0.8045, allocations: 257.5 kB / 1.11 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004545/0.809, allocations: 1.681 MB / 1.111 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008137/0.8099, allocations: 254.5 kB / 1.112 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004713/0.8104, allocations: 160.8 kB / 1.112 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.349e-05/0.8104, allocations: 7.984 kB / 1.112 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007605/0.8112, allocations: 297.3 kB / 1.112 GB, free: 10.65 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=30): time 3.135e-06/0.8112, allocations: 0 / 1.112 GB, free: 10.65 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30): time 0.008598/0.8198, allocations: 1.501 MB / 1.114 GB, free: 9.098 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.8199, allocations: 85.09 kB / 1.114 GB, free: 8.996 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000538/0.8204, allocations: 453.7 kB / 1.114 GB, free: 8.547 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001033/0.8205, allocations: 45.69 kB / 1.114 GB, free: 8.496 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001718/0.8207, allocations: 193 kB / 1.114 GB, free: 8.305 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.055e-05/0.8208, allocations: 98.64 kB / 1.114 GB, free: 8.207 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002707/0.8211, allocations: 162.2 kB / 1.115 GB, free: 8.039 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001856/0.8213, allocations: 358.7 kB / 1.115 GB, free: 7.68 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007899/0.8221, allocations: 273.1 kB / 1.115 GB, free: 7.414 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009327/0.823, allocations: 417.8 kB / 1.116 GB, free: 6.98 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008061/0.8311, allocations: 1.852 MB / 1.117 GB, free: 5.062 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.8311, allocations: 4 kB / 1.117 GB, free: 5.059 MB / 0.8731 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007823/0.8389, allocations: 1.568 MB / 1.119 GB, free: 3.457 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 6.475e-05/0.839, allocations: 72.58 kB / 1.119 GB, free: 3.375 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.839, allocations: 4 kB / 1.119 GB, free: 3.371 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001763/0.8408, allocations: 387.2 kB / 1.119 GB, free: 2.98 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000571/0.8414, allocations: 95.8 kB / 1.119 GB, free: 2.887 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005889/0.8473, allocations: 4.685 MB / 1.124 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009984/0.8483, allocations: 111.2 kB / 1.124 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.096e-05/0.8484, allocations: 31.97 kB / 1.124 GB, free: 13.72 MB / 0.8887 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.0002819/0.8487, allocations: 172.3 kB / 1.124 GB, free: 13.55 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.428e-05/0.8488, allocations: 47.38 kB / 1.124 GB, free: 13.5 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.247e-05/0.8489, allocations: 39.58 kB / 1.124 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.8489, allocations: 7.938 kB / 1.124 GB, free: 13.45 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.8489, allocations: 4 kB / 1.124 GB, free: 13.45 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.8489, allocations: 3.984 kB / 1.124 GB, free: 13.45 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005195/0.8494, allocations: 473.2 kB / 1.125 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.8494, allocations: 0 / 1.125 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001744/0.8496, allocations: 27.91 kB / 1.125 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006104/0.8502, allocations: 229.5 kB / 1.125 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.429e-05/0.8503, allocations: 7.984 kB / 1.125 GB, free: 12.67 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00177/0.852, allocations: 1.493 MB / 1.127 GB, free: 11.13 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.063e-05/0.8521, allocations: 0 / 1.127 GB, free: 11.13 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006384/0.8585, allocations: 1.301 MB / 1.128 GB, free: 9.801 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002115/0.8587, allocations: 156.5 kB / 1.128 GB, free: 9.629 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.242e-05/0.8588, allocations: 8 kB / 1.128 GB, free: 9.621 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004962/0.8593, allocations: 35.95 kB / 1.128 GB, free: 9.586 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.8594, allocations: 51.88 kB / 1.128 GB, free: 9.535 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.13e-05/0.8595, allocations: 15.98 kB / 1.128 GB, free: 9.52 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003573/0.8598, allocations: 303.1 kB / 1.128 GB, free: 9.227 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2e-07/0.8598, allocations: 3.938 kB / 1.128 GB, free: 9.223 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005828/0.8604, allocations: 155.9 kB / 1.129 GB, free: 9.07 MB / 0.8887 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.0003349/0.8608, allocations: 167.8 kB / 1.129 GB, free: 8.895 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003211/0.864, allocations: 1.068 MB / 1.13 GB, free: 7.77 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.864, allocations: 0 / 1.13 GB, free: 7.77 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001573/0.8656, allocations: 329.5 kB / 1.13 GB, free: 7.441 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006359/0.8662, allocations: 111.4 kB / 1.13 GB, free: 7.336 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/0.8679, allocations: 0.8972 MB / 1.131 GB, free: 6.426 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.8683, allocations: 0.8113 MB / 1.132 GB, free: 5.586 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.000268/0.8685, allocations: 55.28 kB / 1.132 GB, free: 5.531 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.8687, allocations: 43.36 kB / 1.132 GB, free: 5.492 MB / 0.8887 GB Notification: Performance of SimCode: time 2.91e-07/0.8687, allocations: 3.938 kB / 1.132 GB, free: 5.488 MB / 0.8887 GB Notification: Performance of Templates: time 0.01987/0.8885, allocations: 12.28 MB / 1.144 GB, free: 9.312 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches