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.007737/0.007737, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001744/0.001744, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.438/1.438, allocations: 222.9 MB / 240.3 MB, free: 15.11 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.182/2.182, allocations: 390.2 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 67.91 kB / 0.9509 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7408/0.742, allocations: 140.4 MB / 1.088 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse): time 0.004577/0.7467, allocations: 3.018 MB / 1.091 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1767/0.9233, allocations: 153.4 MB / 1.241 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003535/0.9237, allocations: 6.812 kB / 1.241 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003682/0.9241, allocations: 89 kB / 1.241 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000835/0.925, allocations: 276 kB / 1.241 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002335/0.9274, allocations: 1.008 MB / 1.242 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008248/0.9282, allocations: 0.7855 MB / 1.243 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.9284, allocations: 83.58 kB / 1.243 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003438/0.9287, allocations: 319.2 kB / 1.243 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004766/0.9292, allocations: 340.9 kB / 1.244 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001068/0.9293, allocations: 64.38 kB / 1.244 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001604/0.9309, allocations: 0.7831 MB / 1.244 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001453/0.9311, allocations: 150.2 kB / 1.245 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002998/0.9314, allocations: 289 kB / 1.245 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001361/0.9328, allocations: 0.9745 MB / 1.246 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.9328, allocations: 3.938 kB / 1.246 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9328, allocations: 0 / 1.246 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.307e-05/0.9328, allocations: 4 kB / 1.246 GB, free: 12.16 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.002514/0.9353, allocations: 1.055 MB / 1.247 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.9354, allocations: 8.031 kB / 1.247 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002481/0.9379, allocations: 271 kB / 1.247 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006679/0.9385, allocations: 400.9 kB / 1.247 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.341e-05/0.9386, allocations: 95.83 kB / 1.248 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.9388, allocations: 40 kB / 1.248 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008049/0.9396, allocations: 368.2 kB / 1.248 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.9396, allocations: 0 / 1.248 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.668e-05/0.9396, allocations: 19.92 kB / 1.248 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.9397, allocations: 11.98 kB / 1.248 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007475/0.9404, allocations: 249.5 kB / 1.248 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004299/0.9447, allocations: 1.685 MB / 1.25 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007773/0.9455, allocations: 246.6 kB / 1.25 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000468/0.946, allocations: 160.8 kB / 1.25 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/0.946, allocations: 3.984 kB / 1.25 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006822/0.9467, allocations: 302.3 kB / 1.25 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 1.813e-06/0.9467, allocations: 0 / 1.25 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.008173/0.9549, allocations: 1.502 MB / 1.252 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.955, allocations: 81.11 kB / 1.252 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005446/0.9555, allocations: 453.7 kB / 1.252 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.548e-05/0.9556, allocations: 45.7 kB / 1.253 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.9558, allocations: 200.9 kB / 1.253 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.571e-05/0.9559, allocations: 102.6 kB / 1.253 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002611/0.9562, allocations: 150.2 kB / 1.253 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.9563, allocations: 354.7 kB / 1.253 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007867/0.9571, allocations: 281.1 kB / 1.254 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009438/0.9581, allocations: 417.8 kB / 1.254 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007598/0.9657, allocations: 1.846 MB / 1.256 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.9657, allocations: 0 / 1.256 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007346/0.973, allocations: 1.584 MB / 1.257 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.967e-05/0.9731, allocations: 59.41 kB / 1.257 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.9731, allocations: 7.984 kB / 1.257 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001721/0.9749, allocations: 383.1 kB / 1.258 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005451/0.9754, allocations: 99.78 kB / 1.258 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005643/0.9811, allocations: 4.675 MB / 1.262 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009571/0.9821, allocations: 99.23 kB / 1.262 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.805e-05/0.9822, allocations: 43.95 kB / 1.263 GB, free: 10.15 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.0002788/0.9824, allocations: 170.9 kB / 1.263 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.647e-05/0.9825, allocations: 47.42 kB / 1.263 GB, free: 9.926 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.026e-05/0.9826, allocations: 47.52 kB / 1.263 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.9826, allocations: 4 kB / 1.263 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.9827, allocations: 4 kB / 1.263 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.9827, allocations: 0 / 1.263 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005409/0.9832, allocations: 469.2 kB / 1.263 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.9832, allocations: 0 / 1.263 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.9834, allocations: 27.91 kB / 1.263 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006262/0.984, allocations: 241.6 kB / 1.263 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.919e-05/0.9841, allocations: 11.92 kB / 1.264 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00177/0.9858, allocations: 1.485 MB / 1.265 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.9859, allocations: 0 / 1.265 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006029/0.9919, allocations: 1.29 MB / 1.266 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002281/0.9921, allocations: 160.5 kB / 1.266 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.13e-05/0.9922, allocations: 11.98 kB / 1.266 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004543/0.9927, allocations: 35.95 kB / 1.266 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.9928, allocations: 39.89 kB / 1.266 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.823e-05/0.9929, allocations: 15.98 kB / 1.266 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003791/0.9933, allocations: 303.1 kB / 1.267 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9933, allocations: 0 / 1.267 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007131/0.994, allocations: 163.8 kB / 1.267 GB, free: 5.5 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.000396/0.9944, allocations: 179 kB / 1.267 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003222/0.9976, allocations: 1.044 MB / 1.268 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.9976, allocations: 4.062 kB / 1.268 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001488/0.9991, allocations: 329.5 kB / 1.268 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006293/0.9998, allocations: 109.7 kB / 1.269 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/1.002, allocations: 0.913 MB / 1.269 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/1.002, allocations: 0.8073 MB / 1.27 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002318/1.002, allocations: 51.3 kB / 1.27 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/1.002, allocations: 43.41 kB / 1.27 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of SimCode: time 2.51e-07/1.002, allocations: 0 / 1.27 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of Templates: time 0.01939/1.022, allocations: 12.77 MB / 1.283 GB, free: 5.242 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