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.001118/0.001118, allocations: 105.1 kB / 16.27 MB, free: 6.398 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.001152/0.001152, allocations: 191.8 kB / 17.2 MB, free: 5.969 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.377/1.377, allocations: 222.9 MB / 240.9 MB, free: 15.26 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.447/2.447, allocations: 390.3 MB / 0.6653 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 67.02 kB / 0.8132 GB, free: 33.12 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3029, allocations: 140.4 MB / 0.9503 GB, free: 8.844 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse): time 0.005296/0.3082, allocations: 3.01 MB / 0.9532 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.8522/1.16, allocations: 153.4 MB / 1.103 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000457/1.161, allocations: 6.125 kB / 1.103 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004051/1.161, allocations: 86.02 kB / 1.103 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001248/1.163, allocations: 273.4 kB / 1.103 GB, free: 4.965 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003379/1.166, allocations: 1.013 MB / 1.104 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00141/1.168, allocations: 0.785 MB / 1.105 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002379/1.168, allocations: 91.89 kB / 1.105 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006258/1.168, allocations: 318.6 kB / 1.106 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006132/1.169, allocations: 334.8 kB / 1.106 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001434/1.169, allocations: 59.88 kB / 1.106 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002513/1.172, allocations: 0.788 MB / 1.107 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002088/1.172, allocations: 151.3 kB / 1.107 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000448/1.172, allocations: 287.1 kB / 1.107 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002133/1.174, allocations: 0.958 MB / 1.108 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/1.175, allocations: 1.203 kB / 1.108 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.607e-06/1.175, allocations: 0.7188 kB / 1.108 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.174e-05/1.175, allocations: 0 / 1.108 GB, free: 4.82 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.003301/1.178, allocations: 1.055 MB / 1.109 GB, free: 20.2 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/1.178, allocations: 9 kB / 1.109 GB, free: 20.2 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002751/1.181, allocations: 267.4 kB / 1.109 GB, free: 20.16 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008493/1.182, allocations: 404.5 kB / 1.11 GB, free: 19.91 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/1.182, allocations: 92.67 kB / 1.11 GB, free: 19.85 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/1.182, allocations: 38.27 kB / 1.11 GB, free: 19.85 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009338/1.183, allocations: 373.9 kB / 1.11 GB, free: 19.77 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/1.183, allocations: 0 / 1.11 GB, free: 19.77 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.233e-05/1.183, allocations: 12.53 kB / 1.11 GB, free: 19.77 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/1.183, allocations: 9.188 kB / 1.11 GB, free: 19.77 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007749/1.184, allocations: 256.9 kB / 1.11 GB, free: 19.76 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004945/1.189, allocations: 1.685 MB / 1.112 GB, free: 19.09 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008222/1.189, allocations: 248.2 kB / 1.112 GB, free: 19.07 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005067/1.19, allocations: 158 kB / 1.112 GB, free: 19.06 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.959e-05/1.19, allocations: 2.719 kB / 1.112 GB, free: 19.06 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008764/1.191, allocations: 298.2 kB / 1.113 GB, free: 18.99 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=30): time 2.325e-06/1.191, allocations: 0 / 1.113 GB, free: 18.99 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30): time 0.008926/1.2, allocations: 1.51 MB / 1.114 GB, free: 18.68 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/1.2, allocations: 81.77 kB / 1.114 GB, free: 18.58 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000785/1.201, allocations: 453.3 kB / 1.115 GB, free: 18.46 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0002853/1.201, allocations: 42.5 kB / 1.115 GB, free: 18.43 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001952/1.201, allocations: 200.2 kB / 1.115 GB, free: 18.33 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/1.201, allocations: 100.2 kB / 1.115 GB, free: 18.27 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003285/1.202, allocations: 159.4 kB / 1.115 GB, free: 18.25 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001668/1.202, allocations: 359.4 kB / 1.116 GB, free: 17.93 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008256/1.203, allocations: 275 kB / 1.116 GB, free: 17.92 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009503/1.204, allocations: 419.7 kB / 1.116 GB, free: 17.85 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007834/1.212, allocations: 1.858 MB / 1.118 GB, free: 17.52 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/1.212, allocations: 2.016 kB / 1.118 GB, free: 17.52 MB / 0.8731 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007699/1.219, allocations: 1.571 MB / 1.12 GB, free: 17.3 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 8.985e-05/1.219, allocations: 61.77 kB / 1.12 GB, free: 17.24 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/1.219, allocations: 5.344 kB / 1.12 GB, free: 17.24 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001809/1.221, allocations: 398.7 kB / 1.12 GB, free: 17.19 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006399/1.222, allocations: 92.2 kB / 1.12 GB, free: 17.19 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006123/1.228, allocations: 4.678 MB / 1.125 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/1.229, allocations: 92.36 kB / 1.125 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/1.229, allocations: 36.97 kB / 1.125 GB, free: 13.18 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 ($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.0003791/1.23, allocations: 175.5 kB / 1.125 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/1.23, allocations: 43.22 kB / 1.125 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.17e-05/1.23, allocations: 41.97 kB / 1.125 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/1.23, allocations: 3.719 kB / 1.125 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/1.23, allocations: 10.23 kB / 1.125 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/1.23, allocations: 1.25 kB / 1.125 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006481/1.231, allocations: 476 kB / 1.126 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/1.231, allocations: 0 / 1.126 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/1.231, allocations: 32.62 kB / 1.126 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006365/1.232, allocations: 225.6 kB / 1.126 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.018e-05/1.232, allocations: 13.52 kB / 1.126 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001843/1.233, allocations: 1.487 MB / 1.127 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.233, allocations: 5.094 kB / 1.127 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006315/1.24, allocations: 1.294 MB / 1.129 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003773/1.24, allocations: 163 kB / 1.129 GB, free: 11.31 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.734e-05/1.24, allocations: 8.344 kB / 1.129 GB, free: 11.31 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004798/1.241, allocations: 36.77 kB / 1.129 GB, free: 11.31 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/1.241, allocations: 43.84 kB / 1.129 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.783e-05/1.241, allocations: 18.09 kB / 1.129 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004203/1.241, allocations: 300.7 kB / 1.129 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.3e-07/1.241, allocations: 0 / 1.129 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009067/1.242, allocations: 158.7 kB / 1.129 GB, free: 11.21 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 (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.0003986/1.243, allocations: 180.2 kB / 1.129 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003654/1.246, allocations: 1.059 MB / 1.13 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/1.246, allocations: 0 / 1.13 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001578/1.248, allocations: 318.7 kB / 1.131 GB, free: 10.67 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007943/1.249, allocations: 120.4 kB / 1.131 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001997/1.251, allocations: 0.9368 MB / 1.132 GB, free: 10.15 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004143/1.251, allocations: 0.8079 MB / 1.133 GB, free: 9.441 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002336/1.252, allocations: 34.83 kB / 1.133 GB, free: 9.434 MB / 0.8731 GB Notification: Performance of SimCode: time 1.132e-06/1.252, allocations: 0 / 1.133 GB, free: 9.434 MB / 0.8731 GB Notification: Performance of Templates: time 0.02024/1.272, allocations: 12.21 MB / 1.145 GB, free: 7.266 MB / 0.8731 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/jenkins1/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