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.001686/0.001686, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002299/0.002299, allocations: 194.9 kB / 16.25 MB, free: 6.637 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 / 239.9 MB, free: 4.512 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.381/2.381, allocations: 390.2 MB / 0.6644 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 64.14 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6098/0.6111, allocations: 140.4 MB / 0.9491 GB, free: 9.367 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse): time 0.003686/0.6149, allocations: 3.05 MB / 0.9521 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1614/0.7763, allocations: 151.2 MB / 1.1 GB, free: 7.41 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003817/0.7767, allocations: 0 / 1.1 GB, free: 7.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003611/0.7771, allocations: 71.45 kB / 1.1 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0009312/0.778, allocations: 246.5 kB / 1.1 GB, free: 7.098 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002731/0.7808, allocations: 0.9347 MB / 1.101 GB, free: 6.172 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001295/0.7821, allocations: 0.7914 MB / 1.102 GB, free: 5.379 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002229/0.7823, allocations: 89.97 kB / 1.102 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008977/0.7832, allocations: 327 kB / 1.102 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007384/0.784, allocations: 342.8 kB / 1.102 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002221/0.7842, allocations: 60 kB / 1.103 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001577/0.7858, allocations: 0.8264 MB / 1.103 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001717/0.786, allocations: 151.6 kB / 1.103 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003292/0.7863, allocations: 290.7 kB / 1.104 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001894/0.7882, allocations: 0.9894 MB / 1.105 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.7882, allocations: 0 / 1.105 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.794e-06/0.7882, allocations: 0 / 1.105 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.659e-05/0.7883, allocations: 0 / 1.105 GB, free: 2.32 MB / 0.8575 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.003216/0.7915, allocations: 1.063 MB / 1.106 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.7915, allocations: 12.03 kB / 1.106 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002749/0.7943, allocations: 263.3 kB / 1.106 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007437/0.7951, allocations: 400.9 kB / 1.106 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/0.7952, allocations: 95.77 kB / 1.107 GB, free: 396 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.7953, allocations: 36 kB / 1.107 GB, free: 360 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008589/0.7962, allocations: 376.2 kB / 1.107 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.7962, allocations: 0 / 1.107 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.537e-05/0.7962, allocations: 19.92 kB / 1.107 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.7963, allocations: 4 kB / 1.107 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008223/0.7971, allocations: 253.5 kB / 1.107 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004613/0.8017, allocations: 1.685 MB / 1.109 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007724/0.8025, allocations: 250.6 kB / 1.109 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004721/0.803, allocations: 156.8 kB / 1.109 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.823e-05/0.803, allocations: 11.92 kB / 1.109 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007202/0.8038, allocations: 292.8 kB / 1.109 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=30): time 1.853e-06/0.8038, allocations: 0 / 1.109 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30): time 0.008717/0.8125, allocations: 1.509 MB / 1.111 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.8126, allocations: 81.11 kB / 1.111 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000529/0.8131, allocations: 457.7 kB / 1.111 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.677e-05/0.8132, allocations: 41.7 kB / 1.112 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.8134, allocations: 197 kB / 1.112 GB, free: 10.87 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.015e-05/0.8135, allocations: 98.64 kB / 1.112 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002798/0.8138, allocations: 158.1 kB / 1.112 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.8139, allocations: 354.7 kB / 1.112 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007858/0.8147, allocations: 277.1 kB / 1.113 GB, free: 9.98 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009093/0.8156, allocations: 425.7 kB / 1.113 GB, free: 9.539 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007811/0.8234, allocations: 1.848 MB / 1.115 GB, free: 7.625 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.8234, allocations: 0 / 1.115 GB, free: 7.625 MB / 0.8731 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007683/0.8311, allocations: 1.58 MB / 1.116 GB, free: 6.012 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.116e-05/0.8312, allocations: 63.34 kB / 1.116 GB, free: 5.938 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.8312, allocations: 4 kB / 1.116 GB, free: 5.934 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001789/0.833, allocations: 387.1 kB / 1.117 GB, free: 5.543 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005557/0.8336, allocations: 95.8 kB / 1.117 GB, free: 5.449 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005881/0.8395, allocations: 4.69 MB / 1.121 GB, free: 440 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/0.8405, allocations: 95.31 kB / 1.121 GB, free: 344 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001247/0.8407, allocations: 40.14 kB / 1.122 GB, free: 304 kB / 0.8731 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.0003083/0.841, allocations: 177.7 kB / 1.122 GB, free: 116 kB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.8411, allocations: 43.44 kB / 1.122 GB, free: 72 kB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.405e-05/0.8412, allocations: 43.56 kB / 1.122 GB, free: 28 kB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.8412, allocations: 11.94 kB / 1.122 GB, free: 16 kB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.8412, allocations: 0 / 1.122 GB, free: 16 kB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.8412, allocations: 8 kB / 1.122 GB, free: 8 kB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005541/0.8418, allocations: 465.2 kB / 1.122 GB, free: 15.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.8418, allocations: 0 / 1.122 GB, free: 15.5 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/0.842, allocations: 27.91 kB / 1.122 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006466/0.8426, allocations: 229.5 kB / 1.122 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.983e-05/0.8427, allocations: 11.98 kB / 1.123 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00182/0.8445, allocations: 1.492 MB / 1.124 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.8445, allocations: 3.938 kB / 1.124 GB, free: 13.69 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006609/0.8511, allocations: 1.289 MB / 1.125 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000237/0.8514, allocations: 156.5 kB / 1.125 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.8515, allocations: 12 kB / 1.125 GB, free: 12.19 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005451/0.8521, allocations: 39.95 kB / 1.125 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/0.8522, allocations: 43.88 kB / 1.125 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.355e-05/0.8523, allocations: 15.98 kB / 1.125 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004275/0.8527, allocations: 303.1 kB / 1.126 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8527, allocations: 0 / 1.126 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006505/0.8534, allocations: 155.9 kB / 1.126 GB, free: 11.65 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.0003543/0.8537, allocations: 183.3 kB / 1.126 GB, free: 11.46 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003375/0.8571, allocations: 1.049 MB / 1.127 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.8571, allocations: 4 kB / 1.127 GB, free: 10.35 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001644/0.8588, allocations: 327.9 kB / 1.127 GB, free: 10.03 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007286/0.8595, allocations: 115.2 kB / 1.128 GB, free: 9.918 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001892/0.8614, allocations: 1.02 MB / 1.129 GB, free: 8.875 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.8618, allocations: 0.8035 MB / 1.129 GB, free: 8.043 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003337/0.8621, allocations: 55.28 kB / 1.129 GB, free: 7.988 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.8623, allocations: 39.41 kB / 1.129 GB, free: 7.953 MB / 0.8887 GB Notification: Performance of SimCode: time 3.8e-07/0.8623, allocations: 4 kB / 1.129 GB, free: 7.949 MB / 0.8887 GB Notification: Performance of Templates: time 0.02029/0.8826, allocations: 12.13 MB / 1.141 GB, free: 11.92 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