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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009851/0.0009851, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001263/0.001263, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 223.3 MB / 240 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.371/2.371, allocations: 390.9 MB / 0.666 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003156/0.0003157, allocations: 12 kB / 0.8154 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7112/0.7115, allocations: 142.4 MB / 0.9545 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse): time 0.00265/0.7142, allocations: 2.571 MB / 0.957 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1493/0.8635, allocations: 139.4 MB / 1.093 GB, free: 1.137 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003467/0.8639, allocations: 11.94 kB / 1.093 GB, free: 1.125 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002813/0.8642, allocations: 67.52 kB / 1.093 GB, free: 1.059 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0006566/0.8649, allocations: 238.5 kB / 1.093 GB, free: 0.8242 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002272/0.8671, allocations: 0.7918 MB / 1.094 GB, free: 44 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0009711/0.8681, allocations: 0.6705 MB / 1.095 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000219/0.8684, allocations: 81.7 kB / 1.095 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004305/0.8688, allocations: 279.1 kB / 1.095 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004612/0.8693, allocations: 298.9 kB / 1.095 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.021e-05/0.8694, allocations: 32 kB / 1.095 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001324/0.8707, allocations: 0.5615 MB / 1.096 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001235/0.8708, allocations: 123.6 kB / 1.096 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.8709, allocations: 105.5 kB / 1.096 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008013/0.8718, allocations: 0.6584 MB / 1.097 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.8718, allocations: 0 / 1.097 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.783e-06/0.8718, allocations: 0 / 1.097 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.281e-05/0.8718, allocations: 0 / 1.097 GB, free: 13.24 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.002482/0.8743, allocations: 0.9735 MB / 1.098 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.8743, allocations: 12.03 kB / 1.098 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002381/0.8767, allocations: 267.1 kB / 1.098 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006408/0.8774, allocations: 393.1 kB / 1.098 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.8775, allocations: 99.78 kB / 1.099 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.822e-05/0.8776, allocations: 43.91 kB / 1.099 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007757/0.8784, allocations: 380.2 kB / 1.099 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.8784, allocations: 0 / 1.099 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.678e-05/0.8785, allocations: 15.92 kB / 1.099 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.8785, allocations: 4 kB / 1.099 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007243/0.8792, allocations: 281.5 kB / 1.099 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004117/0.8833, allocations: 1.704 MB / 1.101 GB, free: 8.898 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007192/0.8841, allocations: 266.7 kB / 1.101 GB, free: 8.629 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004489/0.8845, allocations: 176.8 kB / 1.101 GB, free: 8.453 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.757e-05/0.8846, allocations: 7.938 kB / 1.101 GB, free: 8.445 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006896/0.8853, allocations: 308.7 kB / 1.102 GB, free: 8.125 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=30): time 2.074e-06/0.8853, allocations: 0 / 1.102 GB, free: 8.125 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30): time 0.00777/0.8931, allocations: 1.567 MB / 1.103 GB, free: 6.508 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.8931, allocations: 89 kB / 1.103 GB, free: 6.402 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000541/0.8937, allocations: 457.6 kB / 1.104 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.412e-05/0.8938, allocations: 37.7 kB / 1.104 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/0.894, allocations: 200.8 kB / 1.104 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.524e-05/0.8941, allocations: 94.73 kB / 1.104 GB, free: 5.613 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.093e-05/0.8941, allocations: 12 kB / 1.104 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.8943, allocations: 362.8 kB / 1.104 GB, free: 5.238 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007609/0.895, allocations: 277.2 kB / 1.105 GB, free: 4.965 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008644/0.8959, allocations: 433.8 kB / 1.105 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008004/0.8967, allocations: 342 kB / 1.105 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.8967, allocations: 4 kB / 1.105 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007459/0.9042, allocations: 1.627 MB / 1.107 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.618e-05/0.9043, allocations: 68.64 kB / 1.107 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.9043, allocations: 0 / 1.107 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001662/0.906, allocations: 411.1 kB / 1.107 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000564/0.9066, allocations: 99.86 kB / 1.108 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005295/0.9119, allocations: 4.459 MB / 1.112 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009632/0.9128, allocations: 107.2 kB / 1.112 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/0.913, allocations: 47.89 kB / 1.112 GB, free: 12.98 MB / 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 ($whenCondition4,$whenCondition2,$PRE.evaNor.off,evaNor.off,$PRE.pulNor.T_start,pulNor.T_start,$PRE.pulNor.count,pulNor.count,$whenCondition3,$whenCondition1,$PRE.pulSho.T_start,pulSho.T_start,$PRE.pulSho.count,pulSho.count,$PRE.evaSho.off,evaSho.off,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 (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {7,7} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002881/0.9133, allocations: 161.6 kB / 1.112 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.082e-05/0.9134, allocations: 43.62 kB / 1.112 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.844e-05/0.9134, allocations: 43.56 kB / 1.112 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.9135, allocations: 7.953 kB / 1.112 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.9135, allocations: 0 / 1.112 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.9135, allocations: 11.98 kB / 1.112 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005351/0.914, allocations: 477.1 kB / 1.113 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.768e-06/0.914, allocations: 4 kB / 1.113 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001723/0.9142, allocations: 31.91 kB / 1.113 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006191/0.9148, allocations: 233.5 kB / 1.113 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.865e-05/0.9149, allocations: 11.98 kB / 1.113 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001692/0.9166, allocations: 1.504 MB / 1.115 GB, free: 10.36 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.9166, allocations: 0 / 1.115 GB, free: 10.36 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005911/0.9225, allocations: 1.356 MB / 1.116 GB, free: 8.98 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002304/0.9228, allocations: 160.5 kB / 1.116 GB, free: 8.805 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.743e-05/0.9229, allocations: 8 kB / 1.116 GB, free: 8.797 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000461/0.9233, allocations: 43.95 kB / 1.116 GB, free: 8.754 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.9235, allocations: 39.92 kB / 1.116 GB, free: 8.715 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.685e-05/0.9235, allocations: 23.98 kB / 1.116 GB, free: 8.691 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003585/0.9239, allocations: 295.1 kB / 1.116 GB, free: 8.41 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.1e-07/0.9239, allocations: 4 kB / 1.116 GB, free: 8.406 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006231/0.9245, allocations: 151.9 kB / 1.117 GB, free: 8.258 MB / 0.8731 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {7,7} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003313/0.9249, allocations: 178.6 kB / 1.117 GB, free: 8.074 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002997/0.9279, allocations: 1.061 MB / 1.118 GB, free: 6.957 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.9279, allocations: 0 / 1.118 GB, free: 6.957 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001416/0.9293, allocations: 333.4 kB / 1.118 GB, free: 6.625 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006572/0.93, allocations: 104.1 kB / 1.118 GB, free: 6.527 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001781/0.9318, allocations: 1.042 MB / 1.119 GB, free: 5.465 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.9321, allocations: 0.8035 MB / 1.12 GB, free: 4.633 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003222/0.9325, allocations: 63.27 kB / 1.12 GB, free: 4.566 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/0.9326, allocations: 35.42 kB / 1.12 GB, free: 4.531 MB / 0.8731 GB Notification: Performance of SimCode: time 6.71e-07/0.9326, allocations: 0 / 1.12 GB, free: 4.531 MB / 0.8731 GB Notification: Performance of Templates: time 0.02037/0.953, allocations: 11.13 MB / 1.131 GB, free: 9.504 MB / 0.8887 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