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.001134/0.001134, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.009176/0.009176, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.422/1.422, allocations: 223.3 MB / 240.3 MB, free: 5.363 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.394/2.394, allocations: 390.9 MB / 0.6663 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003405/0.0003405, allocations: 12 kB / 0.816 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6295/0.6299, allocations: 142.4 MB / 0.9551 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse): time 0.00292/0.6329, allocations: 2.681 MB / 0.9577 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1639/0.7968, allocations: 149.5 MB / 1.104 GB, free: 6.656 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003829/0.7972, allocations: 7.938 kB / 1.104 GB, free: 6.648 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003714/0.7976, allocations: 75.5 kB / 1.104 GB, free: 6.574 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001054/0.7987, allocations: 234.5 kB / 1.104 GB, free: 6.344 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002524/0.8012, allocations: 0.9249 MB / 1.105 GB, free: 5.43 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001108/0.8023, allocations: 0.7446 MB / 1.106 GB, free: 4.684 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002354/0.8026, allocations: 89.97 kB / 1.106 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000555/0.8031, allocations: 291 kB / 1.106 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006144/0.8038, allocations: 310.7 kB / 1.106 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001646/0.8039, allocations: 39.98 kB / 1.106 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00184/0.8058, allocations: 0.877 MB / 1.107 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002174/0.806, allocations: 119.6 kB / 1.107 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003464/0.8064, allocations: 280.5 kB / 1.108 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001383/0.8078, allocations: 0.9579 MB / 1.108 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.8078, allocations: 0 / 1.108 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8078, allocations: 0 / 1.108 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.849e-05/0.8078, allocations: 0 / 1.108 GB, free: 1.727 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.002755/0.8106, allocations: 0.9736 MB / 1.109 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.8106, allocations: 8.031 kB / 1.109 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002627/0.8133, allocations: 263.3 kB / 1.11 GB, free: 436 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007383/0.814, allocations: 400.9 kB / 1.11 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.8141, allocations: 91.78 kB / 1.11 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/0.8143, allocations: 43.98 kB / 1.11 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008877/0.8152, allocations: 384.2 kB / 1.111 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.8152, allocations: 3.938 kB / 1.111 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.19e-05/0.8153, allocations: 15.92 kB / 1.111 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.8153, allocations: 8 kB / 1.111 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008332/0.8161, allocations: 277.5 kB / 1.111 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004778/0.8209, allocations: 1.704 MB / 1.113 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008372/0.8217, allocations: 266.7 kB / 1.113 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005518/0.8223, allocations: 176.8 kB / 1.113 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.67e-05/0.8224, allocations: 7.922 kB / 1.113 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007936/0.8232, allocations: 316.7 kB / 1.113 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=30): time 3.046e-06/0.8232, allocations: 0 / 1.113 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30): time 0.009079/0.8323, allocations: 1.573 MB / 1.115 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.71e-05/0.8324, allocations: 89.11 kB / 1.115 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006426/0.833, allocations: 449.7 kB / 1.115 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001753/0.8332, allocations: 49.62 kB / 1.115 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002105/0.8334, allocations: 200.9 kB / 1.116 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.8335, allocations: 90.73 kB / 1.116 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/0.8337, allocations: 69.67 kB / 1.116 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.8339, allocations: 362.7 kB / 1.116 GB, free: 9.652 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008617/0.8347, allocations: 281.2 kB / 1.116 GB, free: 9.375 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009952/0.8357, allocations: 441.8 kB / 1.117 GB, free: 8.922 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008273/0.844, allocations: 1.95 MB / 1.119 GB, free: 6.906 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.844, allocations: 0 / 1.119 GB, free: 6.906 MB / 0.8731 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007996/0.8521, allocations: 1.627 MB / 1.12 GB, free: 5.246 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 6.383e-05/0.8521, allocations: 67.33 kB / 1.12 GB, free: 5.168 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.8522, allocations: 0 / 1.12 GB, free: 5.168 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00187/0.854, allocations: 395.2 kB / 1.121 GB, free: 4.77 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005719/0.8546, allocations: 103.8 kB / 1.121 GB, free: 4.668 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005949/0.8606, allocations: 4.485 MB / 1.125 GB, free: 15.86 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/0.8616, allocations: 115.2 kB / 1.125 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/0.8618, allocations: 31.97 kB / 1.125 GB, free: 15.71 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.0003385/0.8621, allocations: 177.8 kB / 1.125 GB, free: 15.53 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.8622, allocations: 47.44 kB / 1.126 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.59e-05/0.8623, allocations: 43.58 kB / 1.126 GB, free: 15.44 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/0.8623, allocations: 0 / 1.126 GB, free: 15.44 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.8624, allocations: 4 kB / 1.126 GB, free: 15.44 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.8624, allocations: 7.922 kB / 1.126 GB, free: 15.43 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000581/0.863, allocations: 469.2 kB / 1.126 GB, free: 14.92 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.863, allocations: 0 / 1.126 GB, free: 14.92 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/0.8632, allocations: 35.97 kB / 1.126 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006279/0.8638, allocations: 229.5 kB / 1.126 GB, free: 14.66 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.438e-05/0.8639, allocations: 15.97 kB / 1.126 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001906/0.8658, allocations: 1.504 MB / 1.128 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.8658, allocations: 0 / 1.128 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006756/0.8726, allocations: 1.347 MB / 1.129 GB, free: 11.71 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002729/0.8729, allocations: 164.4 kB / 1.129 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.679e-05/0.873, allocations: 8 kB / 1.129 GB, free: 11.53 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005356/0.8735, allocations: 47.95 kB / 1.129 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/0.8737, allocations: 39.94 kB / 1.129 GB, free: 11.44 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.644e-05/0.8738, allocations: 15.98 kB / 1.129 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004227/0.8742, allocations: 299.1 kB / 1.13 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8742, allocations: 3.938 kB / 1.13 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.000676/0.8749, allocations: 159.8 kB / 1.13 GB, free: 10.98 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.0003637/0.8752, allocations: 183.2 kB / 1.13 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003412/0.8787, allocations: 1.056 MB / 1.131 GB, free: 9.676 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.8787, allocations: 0 / 1.131 GB, free: 9.676 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001603/0.8803, allocations: 335.4 kB / 1.131 GB, free: 9.344 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007568/0.8811, allocations: 112.7 kB / 1.131 GB, free: 9.238 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00188/0.883, allocations: 1.066 MB / 1.132 GB, free: 8.152 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.8833, allocations: 0.8074 MB / 1.133 GB, free: 7.316 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003532/0.8837, allocations: 59.31 kB / 1.133 GB, free: 7.258 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.8838, allocations: 39.42 kB / 1.133 GB, free: 7.223 MB / 0.8887 GB Notification: Performance of SimCode: time 5.11e-07/0.8838, allocations: 0 / 1.133 GB, free: 7.223 MB / 0.8887 GB Notification: Performance of Templates: time 0.02048/0.9043, allocations: 11.48 MB / 1.145 GB, free: 11.85 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