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.001142/0.001142, allocations: 106.5 kB / 15.99 MB, free: 5.914 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.001252/0.001252, allocations: 194.9 kB / 16.91 MB, free: 5.758 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.347/1.347, allocations: 222.9 MB / 240.6 MB, free: 13.7 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.267/2.267, allocations: 390.2 MB / 0.665 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 68.11 kB / 0.8127 GB, free: 32.52 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3409, allocations: 140.4 MB / 0.9498 GB, free: 9.191 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse): time 0.005291/0.3463, allocations: 3.059 MB / 0.9528 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.7954/1.142, allocations: 151.2 MB / 1.1 GB, free: 5.855 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004382/1.142, allocations: 4.5 kB / 1.1 GB, free: 5.855 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004287/1.143, allocations: 76.81 kB / 1.1 GB, free: 5.848 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001123/1.144, allocations: 244.4 kB / 1.101 GB, free: 5.836 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002968/1.147, allocations: 0.9409 MB / 1.102 GB, free: 5.793 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001218/1.148, allocations: 0.7801 MB / 1.102 GB, free: 5.793 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002089/1.148, allocations: 89.72 kB / 1.102 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005293/1.149, allocations: 325 kB / 1.103 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005742/1.149, allocations: 334.4 kB / 1.103 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001264/1.15, allocations: 59.75 kB / 1.103 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002062/1.152, allocations: 0.8374 MB / 1.104 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001663/1.152, allocations: 147.1 kB / 1.104 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003636/1.152, allocations: 296.1 kB / 1.104 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001231/1.153, allocations: 0.6928 MB / 1.105 GB, free: 5.703 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/1.153, allocations: 4.719 kB / 1.105 GB, free: 5.703 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.673e-06/1.153, allocations: 4 kB / 1.105 GB, free: 5.699 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.036e-05/1.153, allocations: 0 / 1.105 GB, free: 5.699 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.003237/1.157, allocations: 1.055 MB / 1.106 GB, free: 21.08 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/1.157, allocations: 9.781 kB / 1.106 GB, free: 21.08 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002745/1.159, allocations: 265.2 kB / 1.106 GB, free: 21.04 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007134/1.16, allocations: 400.8 kB / 1.107 GB, free: 20.8 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/1.16, allocations: 92.52 kB / 1.107 GB, free: 20.74 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/1.16, allocations: 42.5 kB / 1.107 GB, free: 20.73 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009376/1.161, allocations: 369.1 kB / 1.107 GB, free: 20.66 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/1.161, allocations: 0.8438 kB / 1.107 GB, free: 20.66 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.485e-05/1.161, allocations: 18.88 kB / 1.107 GB, free: 20.65 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/1.161, allocations: 9.344 kB / 1.107 GB, free: 20.64 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007902/1.162, allocations: 249.7 kB / 1.108 GB, free: 20.64 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005044/1.167, allocations: 1.679 MB / 1.109 GB, free: 19.98 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007946/1.168, allocations: 251.5 kB / 1.109 GB, free: 19.95 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004829/1.169, allocations: 165.6 kB / 1.11 GB, free: 19.94 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.264e-05/1.169, allocations: 2.906 kB / 1.11 GB, free: 19.94 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007773/1.169, allocations: 300.8 kB / 1.11 GB, free: 19.87 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=30): time 2.134e-06/1.169, allocations: 1.656 kB / 1.11 GB, free: 19.87 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30): time 0.008965/1.178, allocations: 1.509 MB / 1.111 GB, free: 19.55 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.685e-05/1.179, allocations: 91.22 kB / 1.111 GB, free: 19.46 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006756/1.179, allocations: 450.3 kB / 1.112 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0002148/1.179, allocations: 40.78 kB / 1.112 GB, free: 19.3 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001781/1.18, allocations: 197.4 kB / 1.112 GB, free: 19.2 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.653e-05/1.18, allocations: 98.42 kB / 1.112 GB, free: 19.14 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003093/1.18, allocations: 163.6 kB / 1.112 GB, free: 19.12 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001449/1.18, allocations: 357.8 kB / 1.113 GB, free: 18.8 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007872/1.181, allocations: 274.2 kB / 1.113 GB, free: 18.8 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009484/1.182, allocations: 421.2 kB / 1.113 GB, free: 18.73 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008194/1.19, allocations: 1.852 MB / 1.115 GB, free: 18.4 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/1.19, allocations: 1.375 kB / 1.115 GB, free: 18.4 MB / 0.8731 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007941/1.198, allocations: 1.576 MB / 1.117 GB, free: 18.18 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 9.922e-05/1.198, allocations: 65.86 kB / 1.117 GB, free: 18.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.78e-05/1.198, allocations: 6.531 kB / 1.117 GB, free: 18.12 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001875/1.2, allocations: 392.8 kB / 1.117 GB, free: 18.07 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006229/1.201, allocations: 94.25 kB / 1.117 GB, free: 18.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006061/1.207, allocations: 4.677 MB / 1.122 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/1.208, allocations: 101.2 kB / 1.122 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001428/1.208, allocations: 39.97 kB / 1.122 GB, free: 14.05 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.0003873/1.209, allocations: 168.1 kB / 1.122 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001551/1.209, allocations: 43.38 kB / 1.122 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.519e-05/1.209, allocations: 47 kB / 1.122 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/1.209, allocations: 2.812 kB / 1.122 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/1.209, allocations: 5.094 kB / 1.122 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/1.209, allocations: 1.453 kB / 1.122 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006806/1.21, allocations: 475 kB / 1.123 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/1.21, allocations: 144 / 1.123 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001841/1.21, allocations: 27.17 kB / 1.123 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000674/1.211, allocations: 237.4 kB / 1.123 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.711e-05/1.211, allocations: 14.92 kB / 1.123 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001882/1.213, allocations: 1.492 MB / 1.124 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.213, allocations: 5.625 kB / 1.124 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006448/1.219, allocations: 1.284 MB / 1.126 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003717/1.219, allocations: 170.3 kB / 1.126 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000162/1.22, allocations: 9.094 kB / 1.126 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005677/1.22, allocations: 36.06 kB / 1.126 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001673/1.22, allocations: 40.28 kB / 1.126 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.032e-05/1.22, allocations: 13.58 kB / 1.126 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004808/1.221, allocations: 305.4 kB / 1.126 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.513e-06/1.221, allocations: 4 kB / 1.126 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001281/1.222, allocations: 160.6 kB / 1.126 GB, free: 12.08 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.0006032/1.223, allocations: 173.4 kB / 1.126 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003949/1.227, allocations: 1.059 MB / 1.128 GB, free: 11.58 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/1.227, allocations: 6.797 kB / 1.128 GB, free: 11.58 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001606/1.228, allocations: 323.3 kB / 1.128 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008604/1.229, allocations: 114.4 kB / 1.128 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002035/1.231, allocations: 1.038 MB / 1.129 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004672/1.232, allocations: 0.8045 MB / 1.13 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002292/1.232, allocations: 40.19 kB / 1.13 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of SimCode: time 6.71e-07/1.232, allocations: 0 / 1.13 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of Templates: time 0.02224/1.254, allocations: 12.2 MB / 1.142 GB, free: 8.77 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