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.007346/0.007346, allocations: 103.4 kB / 15.74 MB, free: 5.957 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.001799/0.001799, allocations: 192.6 kB / 16.68 MB, free: 5.887 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.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.257/2.257, allocations: 390.2 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 63.91 kB / 0.9509 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7894/0.7907, allocations: 140.4 MB / 1.088 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse): time 0.003733/0.7945, allocations: 3.016 MB / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1877/0.9822, allocations: 153.4 MB / 1.241 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006764/0.9829, allocations: 2.75 kB / 1.241 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004879/0.9835, allocations: 88.95 kB / 1.241 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001408/0.9849, allocations: 277.1 kB / 1.241 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002844/0.9878, allocations: 1.004 MB / 1.242 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0009314/0.9887, allocations: 0.7847 MB / 1.243 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001803/0.9889, allocations: 92.31 kB / 1.243 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003603/0.9893, allocations: 312.7 kB / 1.243 GB, free: 14 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005159/0.9898, allocations: 332.7 kB / 1.244 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001137/0.9899, allocations: 63.56 kB / 1.244 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001702/0.9916, allocations: 0.7954 MB / 1.244 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001737/0.9918, allocations: 158.4 kB / 1.245 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00033/0.9922, allocations: 284.9 kB / 1.245 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001296/0.9935, allocations: 0.9721 MB / 1.246 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.9935, allocations: 0 / 1.246 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9935, allocations: 0 / 1.246 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.38e-05/0.9935, allocations: 0 / 1.246 GB, free: 12.18 MB / 0.9825 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.00262/0.9961, allocations: 1.055 MB / 1.247 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.9962, allocations: 12.03 kB / 1.247 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002525/0.9987, allocations: 271 kB / 1.247 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000658/0.9994, allocations: 400.9 kB / 1.247 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.876e-05/0.9995, allocations: 95.81 kB / 1.248 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.9996, allocations: 40 kB / 1.248 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000818/1, allocations: 372.2 kB / 1.248 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/1, allocations: 0 / 1.248 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.32e-05/1.001, allocations: 15.94 kB / 1.248 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/1.001, allocations: 8 kB / 1.248 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007515/1.001, allocations: 253.5 kB / 1.248 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004412/1.006, allocations: 1.685 MB / 1.25 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000784/1.007, allocations: 246.6 kB / 1.25 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004773/1.007, allocations: 160.8 kB / 1.25 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.955e-05/1.007, allocations: 4 kB / 1.25 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007061/1.008, allocations: 298.3 kB / 1.25 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 1.723e-06/1.008, allocations: 0 / 1.25 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.008461/1.016, allocations: 1.506 MB / 1.252 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.66e-05/1.016, allocations: 85.11 kB / 1.252 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005164/1.017, allocations: 453.7 kB / 1.252 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.886e-05/1.017, allocations: 37.7 kB / 1.253 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/1.017, allocations: 200.9 kB / 1.253 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.459e-05/1.017, allocations: 94.64 kB / 1.253 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002668/1.017, allocations: 162.2 kB / 1.253 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001278/1.018, allocations: 358.7 kB / 1.253 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008081/1.018, allocations: 269.1 kB / 1.254 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009431/1.019, allocations: 421.7 kB / 1.254 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007979/1.027, allocations: 1.846 MB / 1.256 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/1.027, allocations: 7.938 kB / 1.256 GB, free: 1.496 MB / 0.9825 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007635/1.035, allocations: 1.584 MB / 1.257 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.792e-05/1.035, allocations: 59.41 kB / 1.257 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/1.035, allocations: 0 / 1.257 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001779/1.037, allocations: 403.1 kB / 1.258 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005334/1.037, allocations: 95.86 kB / 1.258 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005886/1.043, allocations: 4.669 MB / 1.262 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009507/1.044, allocations: 95.22 kB / 1.262 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.606e-05/1.044, allocations: 43.95 kB / 1.263 GB, free: 10.16 MB / 0.9981 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.0003148/1.045, allocations: 169.8 kB / 1.263 GB, free: 9.988 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/1.045, allocations: 43.44 kB / 1.263 GB, free: 9.945 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.157e-05/1.045, allocations: 47.5 kB / 1.263 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/1.045, allocations: 4.188 kB / 1.263 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/1.045, allocations: 0 / 1.263 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/1.045, allocations: 7.984 kB / 1.263 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005777/1.046, allocations: 477.1 kB / 1.263 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/1.046, allocations: 0 / 1.263 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/1.046, allocations: 31.91 kB / 1.263 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006185/1.046, allocations: 221.5 kB / 1.263 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.456e-05/1.046, allocations: 15.92 kB / 1.264 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001847/1.048, allocations: 1.493 MB / 1.265 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.048, allocations: 0 / 1.265 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006399/1.055, allocations: 1.283 MB / 1.266 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002643/1.055, allocations: 160.5 kB / 1.266 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.911e-05/1.055, allocations: 12 kB / 1.266 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005079/1.056, allocations: 39.95 kB / 1.266 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/1.056, allocations: 43.88 kB / 1.266 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.78e-05/1.056, allocations: 15.98 kB / 1.266 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003878/1.056, allocations: 299.1 kB / 1.267 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/1.056, allocations: 3.938 kB / 1.267 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007239/1.057, allocations: 159.8 kB / 1.267 GB, free: 5.516 MB / 0.9981 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.00042/1.057, allocations: 193.5 kB / 1.267 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003423/1.061, allocations: 1.041 MB / 1.268 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/1.061, allocations: 0 / 1.268 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001527/1.062, allocations: 321.5 kB / 1.268 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006861/1.063, allocations: 112.2 kB / 1.269 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001791/1.065, allocations: 0.906 MB / 1.269 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/1.065, allocations: 0.8151 MB / 1.27 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003144/1.066, allocations: 51.34 kB / 1.27 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/1.066, allocations: 43.41 kB / 1.27 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of SimCode: time 2.6e-07/1.066, allocations: 0 / 1.27 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of Templates: time 0.02181/1.087, allocations: 12.36 MB / 1.282 GB, free: 5.676 MB / 1.014 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